mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-03-30 15:08:28 +00:00
Fix errors
This commit is contained in:
parent
541a1074e0
commit
062aa53823
@ -701,11 +701,11 @@ describe('Sync protocol', function () {
|
||||
let synced = null
|
||||
|
||||
const onSynced = (data) => {
|
||||
synced = data;
|
||||
synced = data
|
||||
}
|
||||
|
||||
sync1 = await Sync({ ipfs: ipfs1, log: log1, timeout: timeoutTime })
|
||||
sync2 = await Sync({ ipfs: ipfs2, log: log2, start: false, onSynced: onSynced, timeout: timeoutTime })
|
||||
sync2 = await Sync({ ipfs: ipfs2, log: log2, start: false, onSynced, timeout: timeoutTime })
|
||||
|
||||
await log1.append('hello1')
|
||||
|
||||
@ -713,7 +713,7 @@ describe('Sync protocol', function () {
|
||||
|
||||
await waitFor(() => !!synced, () => true)
|
||||
|
||||
notStrictEqual(err, null)
|
||||
notStrictEqual(synced, null)
|
||||
})
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user