1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-10 16:11:13 -05:00
denoland-deno/cli/tests/integration
Bartek Iwańczuk 9ed7e385a6
fix(test): Improve reliability of deno test's op sanitizer with timers (#12934)
Although not easy to replicate in the wild, the `deno test` op sanitizer
can fail when there are intervals that started before a test runs, since
the op sanitizer can end up running in the time between the timer op for
an interval's run resolves and the op for the next run starts.

This change fixes that by adding a new macrotask callback that will run
after the timer macrotask queue has drained. This ensures that there is
a timer op if there are any timers which are unresolved by the time the
op sanitizer runs.

Co-authored-by: Andreu Botella <abb@randomunok.com>
2021-11-30 12:25:16 +01:00
..
bundle_tests.rs chore: test for bundling export specifier with alias (#12421) 2021-10-13 08:55:28 -04:00
cache_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
compat_tests.rs chore: speed up compat tests (#12884) 2021-11-24 14:19:40 -08:00
compile_tests.rs fix(cli/compile): skip bundling for pre-bundled code (#12687) 2021-11-24 14:19:40 -08:00
coverage_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
doc_tests.rs fix(cli): deno doc panics on invalid url (#11536) 2021-07-29 04:07:25 -07:00
eval_tests.rs chore: split up integration_tests.rs into separate files (#11131) 2021-06-27 13:27:36 -04:00
fmt_tests.rs tests: remove 'fmt_check_tests_dir' test (#12875) 2021-11-24 14:19:40 -08:00
info_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
inspector_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
install_tests.rs chore: move test files to testdata directory (#11601) 2021-08-11 10:20:47 -04:00
lint_tests.rs fix(lint): use recommended tag if there is no tags in config file or flags (#12644) 2021-11-04 11:12:12 -04:00
lsp_tests.rs fix(lsp): lsp should respect include/exclude files in format config (#12876) 2021-11-24 14:19:41 -08:00
mod.rs feat(cli): support React 17 JSX transforms (#12631) 2021-11-09 12:26:39 +11:00
repl_tests.rs fix(repl): avoid panic when assigned to globalThis (#12273) 2021-10-01 00:25:58 +09:00
run_tests.rs fix(cli): don't cache .tsbuildinfo unless emitting (#12830) 2021-11-24 14:19:40 -08:00
test_tests.rs fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 12:25:16 +01:00
upgrade_tests.rs fix(cli/tools/upgrade): check if passed version is valid (#11296) 2021-07-07 14:59:39 -04:00
watcher_tests.rs fix(fmt/lint): strip unc paths on Windows when displaying file paths in lint and fmt (#12606) 2021-11-01 16:22:08 -04:00
worker_tests.rs fix(workers): Make worker.terminate() not immediately kill the isolate (#12831) 2021-11-29 20:39:37 +01:00