0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-31 09:14:20 -04:00
denoland-deno/cli/tests/testdata/test
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
..
collect feat(cli): add --ignore flag to test command (#11712) 2021-08-24 17:23:29 +02:00
doc_only fix(cli): retain path based test mode inference (#11878) 2021-09-01 18:31:56 +09:00
filter test(cli): add test for test filtering (#11672) 2021-08-13 11:33:18 +02:00
shuffle
steps feat(unstable/test): include test step pass/fail/ignore counts in final report (#12432) 2021-11-15 10:20:37 -05:00
aggregate_error.out fix(runtime/testing): format aggregate errors (#12183) 2021-09-30 21:54:56 +02:00
aggregate_error.ts fix(runtime/testing): format aggregate errors (#12183) 2021-09-30 21:54:56 +02:00
allow_all.out
allow_all.ts fix(runtime/ops/worker_host): move permission arg parsing to Rust (#12297) 2021-10-13 13:04:44 -04:00
allow_none.out
allow_none.ts
clear_timeout.out
clear_timeout.ts
collect.out feat(cli): add --ignore flag to test command (#11712) 2021-08-24 17:23:29 +02:00
doc.out
doc.ts
doc_only.out fix(cli): retain path based test mode inference (#11878) 2021-09-01 18:31:56 +09:00
exit_sanitizer.out
exit_sanitizer.ts
fail.out
fail.ts
fail_fast.out
fail_fast.ts
fail_fast_with_val.out
fail_fast_with_val.ts
filter.out test(cli): add test for test filtering (#11672) 2021-08-13 11:33:18 +02:00
finally_timeout.out
finally_timeout.ts
ignore.out
ignore.ts
ignore_permissions.out
ignore_permissions.ts
interval.out feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
interval.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
load_unload.out fix(test): dispatch load event before tests are run (#11708) 2021-08-15 13:54:44 +02:00
load_unload.ts fix(test): dispatch load event before tests are run (#11708) 2021-08-15 13:54:44 +02:00
markdown.md fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown.out fix(cli): explicitly scan for ignore attribute in inline tests (#11647) 2021-08-14 12:33:58 +02:00
markdown_windows.md fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
markdown_windows.out fix(test): support typechecking docs with CRLF line endings (#12748) 2021-11-15 09:58:04 -05:00
meta.out
meta.ts
no_check.out
no_check.ts
no_color.ts
no_run.out
no_run.ts
only.out
only.ts
ops_sanitizer_nexttick.out fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_nexttick.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_timeout_failure.out fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_timeout_failure.ts fix(test): Improve reliability of deno test's op sanitizer with timers (#12934) 2021-11-30 01:27:30 +01:00
ops_sanitizer_unstable.out feat: provide ops details for ops sanitizer failures (#12188) 2021-10-11 17:00:33 +02:00
ops_sanitizer_unstable.ts feat: provide ops details for ops sanitizer failures (#12188) 2021-10-11 17:00:33 +02:00
overloads.out feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
overloads.ts feat(test): Add more overloads for "Deno.test" (#12749) 2021-11-23 14:57:51 +01:00
pass.out
pass.ts
quiet.out
quiet.ts
shuffle.out refactor(cli): introduce module specifier test modes (#11769) 2021-08-26 21:21:58 +02:00
text.md
text.out
unhandled_rejection.out
unhandled_rejection.ts
unresolved_promise.out feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00
unresolved_promise.ts feat(cli): close test worker once all tests complete (#11727) 2021-09-04 20:19:26 +02:00