From 729c1f16b8740d5ac90a396384ad72437283f0f8 Mon Sep 17 00:00:00 2001 From: Kevin Jahns Date: Sat, 20 Apr 2019 00:02:40 +0200 Subject: [PATCH] fix test provider --- tests/testHelper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testHelper.js b/tests/testHelper.js index 06adaffd..5d46c533 100644 --- a/tests/testHelper.js +++ b/tests/testHelper.js @@ -15,10 +15,10 @@ import * as decoding from 'lib0/decoding.js' import * as syncProtocol from 'y-protocols/sync.js' /** - * @param {TestYInstance} y * @param {Y.Transaction} transaction + * @param {TestYInstance} y */ -const afterTransaction = (y, transaction) => { +const afterTransaction = (transaction, y) => { y.mMux(() => { const m = transaction.updateMessage if (m !== null) {