Improve testing

This commit is contained in:
adrinr 2023-02-28 15:03:18 +01:00
parent c1462a7c9c
commit b922fc3b00
1 changed files with 4 additions and 0 deletions

View File

@ -81,6 +81,10 @@ describe("writethrough", () => {
2,
"bb-warn: Ignoring redlock conflict in write-through cache"
)
const output = await db.get(current._id)
expect(output.value).toBe(4)
expect(output._rev).toBe(newRev)
})
})
})