From 279b55e8e6c560bd804dc4da98df2bdca76dc9fc Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 3 Sep 2020 11:31:00 +0200 Subject: [PATCH] fix test --- src/matrix/Session.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/Session.js b/src/matrix/Session.js index 503ec3a5..2752fca7 100644 --- a/src/matrix/Session.js +++ b/src/matrix/Session.js @@ -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.equal(session.syncToken, "a"); assert.equal(session.syncFilterId, 5);