From cda396be9ecdfead7107416818a5db835591c244 Mon Sep 17 00:00:00 2001 From: Julien Malard-Adam Date: Sun, 16 Feb 2025 18:25:19 +0100 Subject: [PATCH] Update sync.test.js --- test/sync.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sync.test.js b/test/sync.test.js index 844821c..406b542 100644 --- a/test/sync.test.js +++ b/test/sync.test.js @@ -700,7 +700,7 @@ describe('Sync protocol', function () { it('does not crash when no listeners are attached to the `error` event on `Sync.events`', async () => { sync1 = await Sync({ ipfs: ipfs1, log: log1, timeout: timeoutTime }) - sync2 = await Sync({ ipfs: ipfs2, log: log2, start: false, onSynced, timeout: timeoutTime }) + sync2 = await Sync({ ipfs: ipfs2, log: log2, start: false, timeout: timeoutTime }) await log1.append('hello1')