Better roll #500
test.yml
on: pull_request
unit-test
1m 4s
e2e-test
2m 46s
Annotations
4 errors
unit-test:
apps/server/src/services/runtime-service/RuntimeService.ts#L12
'filterPlayable' is defined but never used. Allowed unused vars must match /^_/u
|
unit-test
Process completed with exit code 1.
|
src/services/__tests__/rollUtils.test.ts > getRollTimers() handle edge cases with midnight > should load the event in the time span:
apps/server/src/services/__tests__/rollUtils.test.ts#L212
AssertionError: expected { …(6) } to strictly equal { …(6) }
- Expected
+ Received
Object {
"currentEvent": Object {
"id": "2",
"isPublic": true,
"timeEnd": 3600000,
"timeStart": 79200000,
},
"currentPublicEvent": Object {
- "id": "2",
- "isPublic": true,
- "timeEnd": 3600000,
- "timeStart": 79200000,
- },
- "nextEvent": Object {
"id": "3",
"isPublic": true,
"timeEnd": 7200000,
"timeStart": 3600000,
},
- "nextIndex": 2,
- "nextPublicEvent": Object {
- "id": "3",
- "isPublic": true,
- "timeEnd": 7200000,
- "timeStart": 3600000,
- },
+ "nextEvent": null,
+ "nextIndex": null,
+ "nextPublicEvent": null,
"nowIndex": 1,
}
❯ src/services/__tests__/rollUtils.test.ts:212:19
|
unit-test
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
automated-screenshots
Expired
|
445 KB |
|
playwright-report
Expired
|
200 KB |
|