Events + pino #1508
Annotations
7 errors and 1 warning
Run tests:
packages/api/src/menus/services/menu.ts#L45
TRPCError: restaurant brandywine not found
❯ Module.getMenu src/menus/services/menu.ts:45:11
❯ src/menus/procedures/getMenu.ts:9:18
❯ resolveMiddleware ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:103:30
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ callRecursive ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:153:32
❯ procedure ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/procedureBuilder.mjs:183:24
❯ ../../node_modules/@trpc/server/dist/unstable-core-do-not-import/router.mjs:111:28
❯ src/menus/procedures/getMenu.test.ts:51:18
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { code: 'NOT_FOUND' }
|
Run tests:
packages/api/src/restaurants/services/restaurant.test.ts#L11
AssertionError: expected [Function] to throw error including 'Rollback' but got 'invalid input value for enum restaura…'
- Expected
+ Received
- Rollback
+ invalid input value for enum restaurant_name: "brandywine_test"
❯ src/restaurants/services/restaurant.test.ts:11:5
|
Run tests:
packages/api/src/restaurants/services/restaurant.test.ts#L21
AssertionError: expected [Function] to throw error including 'Rollback' but got 'invalid input value for enum restaura…'
- Expected
+ Received
- Rollback
+ invalid input value for enum restaurant_name: "brandywine_test"
❯ src/restaurants/services/restaurant.test.ts:21:5
|
Run tests:
packages/api/src/stations/services/station.test.ts#L31
AssertionError: expected [Function] to throw error including 'Rollback' but got 'invalid input value for enum restaura…'
- Expected
+ Received
- Rollback
+ invalid input value for enum restaurant_name: "restaurant-test"
❯ src/stations/services/station.test.ts:31:5
|
Run tests:
packages/api/src/stations/services/station.test.ts#L45
AssertionError: expected [Function] to throw error including 'Rollback' but got 'invalid input value for enum restaura…'
- Expected
+ Received
- Rollback
+ invalid input value for enum restaurant_name: "restaurant-test"
❯ src/stations/services/station.test.ts:45:5
|
Run tests
@zotmeal/api#test: command (/home/runner/work/ZotMeal/ZotMeal/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
Run tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading