1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests/integration
Andreu Botella 9a10668694
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.
2021-11-30 01:27:30 +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 compat: support compat mode in REPL (#12882) 2021-11-24 16:55:10 +01:00
compile_tests.rs fix(cli/compile): skip bundling for pre-bundled code (#12687) 2021-11-23 23:59:17 +01: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-23 18:36:13 +01: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 chore: upgrade lspower to 1.4.0 (#12894) 2021-11-25 12:10:12 +11:00
mod.rs feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
repl_tests.rs fix(repl): avoid panic when assigned to globalThis (#12273) 2021-10-01 00:25:58 +09:00
run_tests.rs feat: add --no-check=remote flag (#12766) 2021-11-30 09:23:30 +11:00
test_tests.rs fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +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 13:37:44 +01:00