This commit is contained in:
Bruno Windels 2020-09-03 11:31:00 +02:00
parent 571c445f1b
commit 279b55e8e6

View File

@ -301,7 +301,7 @@ export function tests() {
} }
} }
}; };
const newSessionData = session.writeSync("b", 6, {}, syncTxn); const newSessionData = await session.writeSync({next_batch: "b"}, 6, {}, syncTxn);
assert(syncSet); assert(syncSet);
assert.equal(session.syncToken, "a"); assert.equal(session.syncToken, "a");
assert.equal(session.syncFilterId, 5); assert.equal(session.syncFilterId, 5);