get all courses done #317
Annotations
3 errors and 2 warnings
test/modules/get_all_courses/app/get_all_courses.test.ts > Testing getting all courses > Should return a success message:
test/modules/get_all_courses/app/get_all_courses.test.ts#L29
AssertionError: expected 'Invalid or expired token.' to be 'User authenticated successfully' // Object.is equality
- Expected
+ Received
- User authenticated successfully
+ Invalid or expired token.
❯ test/modules/get_all_courses/app/get_all_courses.test.ts:29:47
|
test/modules/get_all_courses/app/get_all_courses.test.ts > Testing getting all courses > Should return a not found error:
test/modules/get_all_courses/app/get_all_courses.test.ts#L47
AssertionError: expected 'Invalid or expired token.' to be 'User or Course not found' // Object.is equality
- Expected
+ Received
- User or Course not found
+ Invalid or expired token.
❯ test/modules/get_all_courses/app/get_all_courses.test.ts:47:47
|
build
Process completed with exit code 1.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|