Events + pino #1508
Annotations
7 errors and 1 warning
src/menus/procedures/getMenu.test.ts > menu.get > should get today's brandywine lunch menu:
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' }
|
src/restaurants/services/restaurant.test.ts > upsertRestaurant correctly > insertRestaurant:
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
|
src/restaurants/services/restaurant.test.ts > upsertRestaurant correctly > updateRestaurant:
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
|
src/stations/services/station.test.ts > upsertStation correctly > insertStation:
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
|
src/stations/services/station.test.ts > upsertStation correctly > updateStation:
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
|
test
@zotmeal/api#test: command (/home/runner/work/ZotMeal/ZotMeal/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
|
test
Process completed with exit code 1.
|
test
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/.
|