Feat/student search #494
Annotations
3 errors
|
test
Process completed with exit code 1.
|
|
api/routes/routers/v1/rest/roundRouter.test.js > GET /rounds > Returns published rounds for a tourn when given valid id:
api/routes/routers/v1/rest/roundRouter.test.js#L26
AssertionError: expected [ { id: 1151673, …(10) }, …(26) ] to have a length of 29 but got 27
- Expected
+ Received
- 29
+ 27
❯ api/routes/routers/v1/rest/roundRouter.test.js:26:16
|
|
api/controllers/rest/studentsController.test.js > studentsController > unlinkedSearch > defaults to the users first and last on no params:
api/controllers/rest/studentsController.test.js#L187
AssertionError: expected "unlinkedSearch" to be called with arguments: [ { first: 'Test', last: 'Student' } ]
Received:
1st unlinkedSearch call:
[
{
- "first": "Test",
- "last": "Student",
+ "first": undefined,
+ "last": undefined,
},
]
Number of calls: 1
❯ api/controllers/rest/studentsController.test.js:187:39
|