Skip to content

Better roll

Better roll #530

Triggered via pull request August 2, 2024 11:45
Status Failure
Total duration 2m 43s
Artifacts 2

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
unit-test: apps/server/src/services/runtime-service/RuntimeService.ts#L13
'filterPlayable' is defined but never used. Allowed unused vars must match /^_/u
unit-test
Process completed with exit code 1.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L428
TypeError: Cannot read properties of undefined (reading 'setCustomFields') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:428:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L428
TypeError: Cannot read properties of undefined (reading 'setCustomFields') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:428:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L428
TypeError: Cannot read properties of undefined (reading 'setCustomFields') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:428:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L418
TypeError: Cannot read properties of undefined (reading 'setRundown') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:418:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L428
TypeError: Cannot read properties of undefined (reading 'setCustomFields') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:428:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L428
TypeError: Cannot read properties of undefined (reading 'setCustomFields') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:428:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
Unhandled error: apps/server/src/services/rundown-service/rundownCache.ts#L418
TypeError: Cannot read properties of undefined (reading 'setRundown') ❯ Immediate.<anonymous> src/services/rundown-service/rundownCache.ts:418:27 This error originated in "src/services/rundown-service/__tests__/rundownCache.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
src/services/__tests__/rollUtils.test.ts > loadRoll() > should roll to the day after if timer is at 100: apps/server/src/services/__tests__/rollUtils.test.ts#L67
AssertionError: expected { event: null, index: null } to strictly equal { event: { id: '1', …(3) }, …(2) } - Expected + Received Object { - "event": Object { - "id": "1", - "isPublic": false, - "timeEnd": 10, - "timeStart": 5, - }, - "index": 0, - "isPending": true, + "event": null, + "index": null, } ❯ src/services/__tests__/rollUtils.test.ts:67:19
src/services/__tests__/rollUtils.test.ts > loadRoll() > should be waiting to start if timer is at 0: apps/server/src/services/__tests__/rollUtils.test.ts#L79
AssertionError: expected { event: null, index: null } to strictly equal { event: { id: '1', …(3) }, …(2) } - Expected + Received Object { - "event": Object { - "id": "1", - "isPublic": false, - "timeEnd": 10, - "timeStart": 5, - }, - "index": 0, - "isPending": true, + "event": null, + "index": null, } ❯ src/services/__tests__/rollUtils.test.ts:79:19
src/services/__tests__/rollUtils.test.ts > loadRoll() > should start the first event if timer is at 5: apps/server/src/services/__tests__/rollUtils.test.ts#L90
AssertionError: expected { event: null, index: null } to strictly equal { event: { id: '1', …(3) }, index: +0 } - Expected + Received Object { - "event": Object { - "id": "1", - "isPublic": false, - "timeEnd": 10, - "timeStart": 5, - }, - "index": 0, + "event": null, + "index": null, } ❯ src/services/__tests__/rollUtils.test.ts:90:19

Artifacts

Produced during runtime
Name Size
automated-screenshots Expired
502 KB
playwright-report Expired
200 KB