ensure clock resets when clearing db #769
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
|