[ospec] don't count succesful async test termination as a test success

This commit is contained in:
Pierre-Yves Gérardy 2018-05-25 18:38:31 +02:00 committed by Pierre-Yves Gérardy
parent 89b665fbf6
commit b292f75bd8

View file

@ -138,10 +138,7 @@ else window.o = m()
if (err instanceof Error) record(err.message, err, task.err) if (err instanceof Error) record(err.message, err, task.err)
else record(String(err), null, task.err) else record(String(err), null, task.err)
} }
if (timeout !== undefined) { if (timeout !== undefined) timeout = clearTimeout(timeout)
timeout = clearTimeout(timeout)
if (delay !== Infinity) record(null)
}
if (current === cursor) next() if (current === cursor) next()
} }