chore: separate build chunks for services #19
Annotations
4 errors
Unhandled error:
src/index.ts#L29
Error: Unsupported email provider: unsupported
❯ Module.useEmail src/index.ts:29:13
❯ test/index.test.ts:18:18
❯ Proxy.assertThrows node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.js:2682:5
❯ Proxy.methodWrapper node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.js:1591:25
❯ Proxy.<anonymous> node_modules/.pnpm/@vitest+expect@2.0.5/node_modules/@vitest/expect/dist/index.js:977:16
❯ Proxy.overwritingMethodWrapper node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.js:1647:33
❯ Proxy.<anonymous> node_modules/.pnpm/@vitest+expect@2.0.5/node_modules/@vitest/expect/dist/index.js:1512:21
❯ Proxy.<anonymous> node_modules/.pnpm/@vitest+expect@2.0.5/node_modules/@vitest/expect/dist/index.js:920:17
❯ Proxy.methodWrapper node_modules/.pnpm/chai@5.1.1/node_modules/chai/chai.js:1591:25
❯ test/index.test.ts:18:43
This error originated in "test/index.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "test/index.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
test/index.test.ts > useEmail > should return the correct service for each provider:
test/index.test.ts#L12
AssertionError: expected Promise{…} to be an instance of ResendService
❯ test/index.test.ts:12:32
|
test/index.test.ts > useEmail > should throw an error for unsupported provider:
test/index.test.ts#L18
AssertionError: expected [Function] to throw an error
- Expected:
null
+ Received:
undefined
❯ test/index.test.ts:18:43
|
ci
Process completed with exit code 1.
|