1
0
mirror of https://github.com/vector-im/hydrogen-web.git synced 2025-01-13 21:47:42 +01:00
This commit is contained in:
Bruno Windels 2020-09-03 11:31:00 +02:00
parent 571c445f1b
commit 279b55e8e6

@ -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);