Skip to content

ensure clock resets when clearing db #769

ensure clock resets when clearing db

ensure clock resets when clearing db #769

Triggered via push December 2, 2024 23:24
Status Failure
Total duration 4m 58s
Artifacts

test.js.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
test/db.spec.ts > db.clear() > partial clear deletes all data, but retains metadata and state: packages/db/test/db.spec.ts#L5395
AssertionError: expected [ { …(2) }, { …(2) } ] to deeply equal [ { …(2) }, { …(2) } ] - Expected + Received Array [ Object { "key": Array [ "metadata", "clock", "clientId", ], - "value": "test", + "value": "MPjKr9DIvw9u_BzkVAk16", }, Object { "key": Array [ "metadata", "clock", "tick", ], - "value": 3, + "value": 0, }, ] ❯ test/db.spec.ts:5395:30
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636