Skip to content

Avoid using HJSON in booting code #956

Avoid using HJSON in booting code

Avoid using HJSON in booting code #956

Triggered via pull request September 14, 2024 15:06
Status Failure
Total duration 1m 25s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
test
@data-story/core#test: command (/home/runner/work/data-story/data-story/packages/core) yarn run test exited (1)
src/V2/convertJSONToDiagram.test.ts > convertParams > should convert signal params: packages/core/src/V2/convertJSONToDiagram.test.ts#L21
AssertionError: expected { period: 50, count: 300, …(1) } to deeply equal { period: 50, count: 300, …(1) } - Expected + Received Object { "count": 300, - "expression": "{ - id: ${i} - }", + "expression": "{\"id\":\"${i}\"}", "period": 50, } ❯ src/V2/convertJSONToDiagram.test.ts:21:26
src/computers/Signal.test.ts > outputs items incrementaly: packages/core/src/support/computerTester/testSteps/expectOutput.ts#L10
AssertionError: expected [ { id: '1' } ] to match object [ { id: 1 } ] - Expected + Received Array [ Object { - "id": 1, + "id": "1", }, ] ❯ Object.handle src/support/computerTester/testSteps/expectOutput.ts:10:20 ❯ ComputerTester.ok src/support/computerTester/ComputerTester.ts:118:18 ❯ src/computers/Signal.test.ts:4:3
test
Process completed with exit code 1.