Skip to content

Fix CD pipeline

Fix CD pipeline #2

Triggered via push August 28, 2024 13:23
Status Failure
Total duration 25s
Billable time 1m
Artifacts

ci.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
src/hooks/useTradeData.test.ts > useTradeData > addTrade changes the state as expected: src/hooks/useTradeData.test.ts#L36
AssertionError: expected [ [ 'Id', 'Price', …(2) ], …(1) ] to deeply equal [ [ 'Id', 'Price', …(2) ], …(1) ] - Expected + Received Array [ Array [ "Id", "Price", "Quantity", "Time", ], Array [ 1724838293044, "0.0091", "0.0500", - "28/08/2024, 10:44:53", + "8/28/2024, 9:44:53 AM", ], ] ❯ src/hooks/useTradeData.test.ts:36:38
Build, lint, and test on Node 20.x and ubuntu-latest
Process completed with exit code 1.
Build, lint, and test on Node 20.x and ubuntu-latest
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/