Update sync.test.js

This commit is contained in:
Julien Malard-Adam
2025-02-16 18:25:19 +01:00
committed by GitHub
parent 464041c267
commit cda396be9e

View File

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