diff --git a/ospec/ospec.js b/ospec/ospec.js index 6b7d72f1..60fe6d3f 100644 --- a/ospec/ospec.js +++ b/ospec/ospec.js @@ -138,10 +138,7 @@ else window.o = m() if (err instanceof Error) record(err.message, err, task.err) else record(String(err), null, task.err) } - if (timeout !== undefined) { - timeout = clearTimeout(timeout) - if (delay !== Infinity) record(null) - } + if (timeout !== undefined) timeout = clearTimeout(timeout) if (current === cursor) next() }