summaryrefslogtreecommitdiff
path: root/cli/tests/unit/timers_test.ts
AgeCommit message (Collapse)Author
2022-03-20fix: actually don't inherit runtime permissions (#14024)Luca Casonato
2022-03-14feat(ext/web): Add `AbortSignal.timeout()` (#13687)Andreu Botella
2022-03-12refactor(core): validate promise id in refOp (#13905)Yoshiya Hinosawa
2022-02-16feat(test): improved op sanitizer errors + traces (#13676)Luca Casonato
This commit improves the error messages for the `deno test` async op sanitizer. It does this in two ways: - it uses handwritten error messages for each op that could be leaking - it includes traces showing where each op was started This "async op tracing" functionality is a new feature in deno_core. It likely has a significant performance impact, which is why it is only enabled in tests.
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-12-09feat(ext/timers): add refTimer, unrefTimer API (#12953)Yoshiya Hinosawa
2021-12-07refactor(timers): refactor timers to use one async op per timer (#12862)Andreu Botella
This change also makes the timers implementation closer to the spec, and sets up the stage to implement AbortSignal.timeout() (whatwg/dom#1032). Fixes #8965 Fixes #10974 Fixes #11398
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-09-23test(cli): align unit test permissions with runtime test permissions (#12189)Casper Beyer
2021-08-25chore(tests): improve unit tests using `deferred` (#11842)David Sherret
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-06-25test(cli): refactor the usages of delay (#11098)Yoshiya Hinosawa
This PR refactors the usages of delay utility in js unit testing. The same utiliy is defined in several places with different names. This PR replaces those usages with the one provided in std/async/delay.ts to improve the readability and consistency of test code.
2021-05-10chore: upgrade crates (#10559)Bartek Iwańczuk
2021-04-12fix(runtime/js/timers): Use (0, eval) instead of eval() (#10103)Nayeem Rahman
2021-04-09chore: upgrade dependencies (#10094)Bartek Iwańczuk
This commit upgrades: - swc_ecmascript - swc_bundler - deno_doc - deno_lint - dprint-plugin-typescript
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2021-01-06fix: stronger input checking for setTimeout; add function overload (#8957)Anonymous
2020-11-26refactor(cli/tests): replace createResolvable with deferred (#8507)crowlKats
2020-11-24feat(cli): update to TypeScript 4.1 (#7573)Kitson Kelly
2020-10-15feat(cli/ops): add the sleep_sync op (#7974)William Perron
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-25refactor: clean timers tests (#7679)Bartek Iwańczuk
2020-08-31fix no-inner-declaration lint rule (#7287)Yusuke Tanaka
2020-08-24feat: update to TypeScript 4.0 (#6514)Kitson Kelly
2020-07-14Use dprint for internal formatting (#6682)David Sherret
2020-07-04Update timers to ignore Date Override (#6552)Kyle June
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl