test: Complete test when error captured.

This commit is contained in:
Hayden Young 2024-01-09 22:54:39 +00:00
parent 0f52b62e31
commit 79d635dfb0

View File

@ -701,7 +701,7 @@ describe('Sync protocol', function () {
let err = null
const onError = (error) => {
err = error
(!err) && (err = error)
}
sync1 = await Sync({ ipfs: ipfs1, log: log1, timeout: timeoutTime })