Skip to content

github action

github action #1526

Triggered via pull request April 30, 2024 03:20
@KatyH820KatyH820
synchronize #431
deploy
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
test
@zotmeal/api#test: command (/home/runner/work/ZotMeal/ZotMeal/packages/api) /home/runner/setup-pnpm/node_modules/.bin/pnpm run test exited (1)
src/dishes/services/dish.test.ts > upsertDish correctly > insertDish: packages/api/src/dishes/services/dish.test.ts#L13
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/dishes/services/dish.test.ts:13:5
src/dishes/services/dish.test.ts > upsertDish correctly > updateDish: packages/api/src/dishes/services/dish.test.ts#L29
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/dishes/services/dish.test.ts:29:5
src/events/services/scrape.test.ts > insert menu into db > scrapes events data and upserts it to db: packages/api/src/events/services/scrape.test.ts#L16
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/events/services/scrape.test.ts:16:5
src/menus/services/menu.test.ts > upsertMenu() > inserts valid menu into db: packages/api/src/menus/services/menu.test.ts#L34
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/menus/services/menu.test.ts:34:7
src/menus/services/menu.test.ts > upsertMenu() > updates existing menu in db: packages/api/src/menus/services/menu.test.ts#L79
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/menus/services/menu.test.ts:79:7
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 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ 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 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/restaurants/services/restaurant.test.ts:21:5
src/schedules/procedures/getSchedule.test.ts > getSchedule > should get schedule: packages/api/src/schedules/procedures/getSchedule.test.ts#L45
Error: The server does not support SSL connections ❯ ../../node_modules/pg-pool/index.js:45:11 ❯ ../../node_modules/src/node-postgres/session.ts:65:19 ❯ src/schedules/procedures/getSchedule.test.ts:45:22
src/schedules/services/schedule.test.ts > test > given date and restaurantName return the schedule of the date: packages/api/src/schedules/services/schedule.test.ts#L18
AssertionError: expected [Function] to throw error including 'Rollback' but got 'The server does not support SSL conne…' - Expected + Received - Rollback + The server does not support SSL connections ❯ src/schedules/services/schedule.test.ts:18:7
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/.