mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
736b91edd0
Improves #19100 Fixes #20356 Replaces #20428 Changes made in deno_core to support this: - [x] Errors must be handled in setTimeout callbacks - [x] Microtask ordering is not-quite-right - [x] Timer cancellation must be checked right before dispatch - [x] Timer sanitizer - [x] Move high-res timer to deno_core - [x] Timers need opcall tracing
24 lines
796 B
Text
24 lines
796 B
Text
⚠️ The `--trace-ops` flag is deprecated and will be removed in Deno 2.0.
|
|
Use the `--trace-leaks` flag instead.
|
|
Check [WILDCARD]/ops_sanitizer_unstable.ts
|
|
running 2 tests from [WILDCARD]/ops_sanitizer_unstable.ts
|
|
no-op ... ok ([WILDCARD])
|
|
leak interval ... FAILED ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
leak interval => [WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD]
|
|
error: Leaks detected:
|
|
- An interval was started in this test, but never completed. This is often caused by not calling `clearInterval`. The operation was started here:
|
|
at [WILDCARD]
|
|
at setInterval ([WILDCARD])
|
|
at fn ([WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD])
|
|
at [WILDCARD]
|
|
|
|
FAILURES
|
|
|
|
leak interval => [WILDCARD]/ops_sanitizer_unstable.ts:[WILDCARD]
|
|
|
|
FAILED | 1 passed | 1 failed ([WILDCARD])
|
|
|
|
error: Test failed
|