Improve testing
This commit is contained in:
parent
c1462a7c9c
commit
b922fc3b00
1 changed files with 4 additions and 0 deletions
|
@ -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)
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue