add limit and offset to search #508
Annotations
9 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) }, …(10) ] to have a length of 29 but got 11
- Expected
+ Received
- 29
+ 11
❯ api/routes/routers/v1/rest/roundRouter.test.js:26:16
|
|
api/routes/routers/v1/rest/resultRouter.test.js > GET /results > Returns a particular published result set for a valid tournID and rsID:
api/routes/routers/v1/rest/resultRouter.test.js#L29
Error: expected 200 "OK", got 500 "Internal Server Error"
❯ api/routes/routers/v1/rest/resultRouter.test.js:29:14
❯ Test._assertStatus node_modules/supertest/lib/test.js:309:14
❯ node_modules/supertest/lib/test.js:365:13
❯ Test._assertFunction node_modules/supertest/lib/test.js:342:13
❯ Test.assert node_modules/supertest/lib/test.js:195:23
❯ localAssert node_modules/supertest/lib/test.js:138:14
❯ Server.<anonymous> node_modules/supertest/lib/test.js:152:11
|
|
api/routes/routers/v1/rest/resultRouter.test.js > GET /results > Returns published result sets for a valid tournID:
api/routes/routers/v1/rest/resultRouter.test.js#L10
Error: expected 200 "OK", got 500 "Internal Server Error"
❯ api/routes/routers/v1/rest/resultRouter.test.js:10:14
❯ Test._assertStatus node_modules/supertest/lib/test.js:309:14
❯ node_modules/supertest/lib/test.js:365:13
❯ Test._assertFunction node_modules/supertest/lib/test.js:342:13
❯ Test.assert node_modules/supertest/lib/test.js:195:23
❯ localAssert node_modules/supertest/lib/test.js:138:14
❯ Server.<anonymous> node_modules/supertest/lib/test.js:152:11
|
|
api/routes/routers/v1/rest/paradigmsRouter.test.js > GET /rest/paradigms > returns paradigms with search params:
api/routes/routers/v1/rest/paradigmsRouter.test.js#L42
AssertionError: expected 0 to be greater than 0
❯ api/routes/routers/v1/rest/paradigmsRouter.test.js:42:23
|
|
api/controllers/user/chapter/school.test.js > getMySchoolsByTourn > User has a school in an expected tournament by contact status:
api/controllers/user/chapter/school.test.js#L108
AssertionError: expected 26719 to equal 130140
- Expected
+ Received
- 130140
+ 26719
❯ api/controllers/user/chapter/school.test.js:108:10
|
|
api/repos/resultSetRepo.test.js > getResultSets > returns only requested event fields and settings when includeEvent is object:
api/repos/resultSetRepo.test.js#L48
TypeError: resultSets.forEach is not a function
❯ api/repos/resultSetRepo.test.js:48:14
|
|
api/repos/resultSetRepo.test.js > getResultSets > returns event info when include.event is true:
api/repos/resultSetRepo.test.js#L28
TypeError: resultSets.forEach is not a function
❯ api/repos/resultSetRepo.test.js:28:14
|
|
api/repos/resultSetRepo.test.js > getResultSets > returns published resultSets when given a valid tournId:
api/repos/resultSetRepo.test.js#L11
TypeError: resultSets.forEach is not a function
❯ api/repos/resultSetRepo.test.js:11:14
|