Skip to content

workflow which ensures that talawa Api app starts in docker #4918

workflow which ensures that talawa Api app starts in docker

workflow which ensures that talawa Api app starts in docker #4918

Triggered via pull request December 31, 2024 18:36
Status Failure
Total duration 7m 52s
Artifacts

pull-request.yml

on: pull_request
Check for linting, formatting, and type errors
1m 17s
Check for linting, formatting, and type errors
Check for eslint-disable
8s
Check for eslint-disable
Check for code coverage disable
7s
Check for code coverage disable
Checks if sensitive files have been changed without authorization
0s
Checks if sensitive files have been changed without authorization
Checks if number of files changed is acceptable
3s
Checks if number of files changed is acceptable
Base branch check
0s
Base branch check
Matrix: Testing Application
Docker Check
0s
Docker Check
JSDocs comments and pipeline
0s
JSDocs comments and pipeline
Matrix: Test Development and Production Builds
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 6 warnings
tests/utilities/loadSampleData.spec.ts > Sample Data Import Tests > should import sample data and verify document counts: tests/utilities/loadSampleData.spec.ts#L44
AssertionError: expected 1 to be 15 // Object.is equality - Expected + Received - 15 + 1 ❯ tests/utilities/loadSampleData.spec.ts:44:23
tests/resolvers/Mutation/updateAdvertisement.spec.ts > resolvers -> Mutation -> updateAdvertisement > updates the advertisement with _id === args.id and returns it: src/resolvers/Mutation/updateAdvertisement.ts#L145
Error: Translated Error: Start date must be greater than or equal to current date. ❯ Module.updateAdvertisement src/resolvers/Mutation/updateAdvertisement.ts:145:13 ❯ tests/resolvers/Mutation/updateAdvertisement.spec.ts:207:40 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { message: 'Translated Error: Start date must be greater than or equal to current date.', code: 'startdate.notvalid', param: 'dateValidation', metadata: {} } ], httpCode: 422 }
tests/resolvers/Mutation/updateAdvertisement.spec.ts > resolvers -> Mutation -> updateAdvertisement > updates the advertisement with _id === args.id and returns it as an org admin: src/resolvers/Mutation/updateAdvertisement.ts#L145
Error: Translated Error: Start date must be greater than or equal to current date. ❯ Module.updateAdvertisement src/resolvers/Mutation/updateAdvertisement.ts:145:13 ❯ tests/resolvers/Mutation/updateAdvertisement.spec.ts:273:40 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { errors: [ { message: 'Translated Error: Start date must be greater than or equal to current date.', code: 'startdate.notvalid', param: 'dateValidation', metadata: {} } ], httpCode: 422 }
Testing Application (22.x)
Process completed with exit code 1.
Base branch check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Checks if number of files changed is acceptable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check for eslint-disable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check for code coverage disable
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check for linting, formatting, and type errors
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Testing Application (22.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636