Skip to content

Fix handling of hrtime in Duration.decode #8635

Fix handling of hrtime in Duration.decode

Fix handling of hrtime in Duration.decode #8635

Triggered via pull request January 26, 2025 12:02
Status Failure
Total duration 2m 58s
Artifacts

check.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 7 warnings
test/Duration.test.ts > Duration > decodeUnknown: packages/effect/test/Duration.test.ts#L70
AssertionError: expected {} to deeply equal { value: { value: { …(2) } } } - Expected + Received Object { "_id": "Option", - "_tag": "Some", - "value": Object { - "_id": "Duration", - "_tag": "Nanos", - "hrtime": Array [ - 500, - 123456789, - ], - }, + "_tag": "None", } ❯ test/Duration.test.ts:70:54
Test (Node 2/4)
Process completed with exit code 1.
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 2/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 4/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Types
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 1/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test (Node 3/4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636