Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dmonad committed Jan 16, 2023
1 parent 249d392 commit f507af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/y-leveldb.tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export const testDeleteEmptySv = async tc => {
t.compareArrays([], await leveldbPersistence.getAllDocNames())
await leveldbPersistence.storeUpdate(docName, singleUpdate)
t.compareArrays([docName], await leveldbPersistence.getAllDocNames())
const docSvs = await leveldbPersistence.getAllDocStateVecors()
const docSvs = await leveldbPersistence.getAllDocStateVectors()
t.assert(docSvs.length === 1)
t.compare([{ name: docName, clock: 0, sv: Y.encodeStateVector(ydoc) }], docSvs)

Expand Down

0 comments on commit f507af5

Please sign in to comment.