mirror of
https://github.com/orbitdb/orbitdb.git
synced 2025-06-07 06:36:38 +00:00
test: Complete test when error captured.
This commit is contained in:
parent
0f52b62e31
commit
79d635dfb0
@ -701,7 +701,7 @@ describe('Sync protocol', function () {
|
|||||||
let err = null
|
let err = null
|
||||||
|
|
||||||
const onError = (error) => {
|
const onError = (error) => {
|
||||||
err = error
|
(!err) && (err = error)
|
||||||
}
|
}
|
||||||
|
|
||||||
sync1 = await Sync({ ipfs: ipfs1, log: log1, timeout: timeoutTime })
|
sync1 = await Sync({ ipfs: ipfs1, log: log1, timeout: timeoutTime })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user