Added tests #16
push.yml
on: push
Matrix: Testing Application
Check Schema
39s
Deploying Application to Cloud VPS
0s
Annotations
4 errors
Check Schema
Failed to load 'schema.graphql' (ref: refs/pull/2507/merge)
|
tests/resolvers/Query/checkAuth.spec.ts > resolvers -> Query -> checkAuth > returns user object:
tests/resolvers/Query/checkAuth.spec.ts#L44
AssertionError: expected { …(15) } to deeply equal { …(15) }
- Expected
+ Received
Object {
"__v": 0,
"_id": "66dc7b86f62364ad483a76c3",
"appUserProfileId": "66dc7b86f62364ad483a76c5",
"createdAt": 2024-09-07T16:12:54.518Z,
"email": "[email protected]",
"firstName": "firstName_j8dsq4v_a4pkiuo_vkgu",
- "image": null,
+ "image": "undefinedexampleimageurl.com",
"joinedOrganizations": Array [],
"lastName": "lastNameknilik8jeqdltkwzfb7df",
"membershipRequests": Array [],
"organizationsBlockedBy": Array [],
"password": "passldznwmcu0i52_9d2stk0u",
"registeredEvents": Array [],
"status": "ACTIVE",
"updatedAt": 2024-09-07T16:12:54.534Z,
}
❯ tests/resolvers/Query/checkAuth.spec.ts:44:18
|
tests/resolvers/Query/user.spec.ts > resolvers -> Query -> user > returns user object without image:
tests/resolvers/Query/user.spec.ts#L61
AssertionError: expected { …(15) } to deeply equal { …(15) }
- Expected
+ Received
Object {
"__v": 0,
"_id": "66dc7b739c28ab01a173f034",
"appUserProfileId": "66dc7b739c28ab01a173f040",
"createdAt": 2024-09-07T16:12:35.684Z,
"email": "[email protected]",
"firstName": "firstNamewk0on-zqgo64zpdfoqh6h",
- "image": null,
+ "image": "undefinedexampleimageurl.com",
"joinedOrganizations": Array [
"66dc7b739c28ab01a173f043",
],
"lastName": "lastNamekh_piwyb7hw0xmdrc9c3m",
"membershipRequests": Array [],
"organizationsBlockedBy": Array [],
"password": "pass8vg1eqjtq-zn8lojkm8tk",
"registeredEvents": Array [],
"status": "ACTIVE",
"updatedAt": 2024-09-07T16:12:35.768Z,
}
❯ tests/resolvers/Query/user.spec.ts:61:31
|
Testing Application (22.x)
Process completed with exit code 1.
|