summaryrefslogtreecommitdiff
path: root/cli/js/40_testing.js
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-04 10:05:15 +0200
committerGitHub <noreply@github.com>2023-08-04 10:05:15 +0200
commit53ab6c004ab25020654d3a17bd68472fc5322d48 (patch)
tree51ab35d30f55966d2c8b40128df1bc9651f94018 /cli/js/40_testing.js
parent433ecc9047c1701a6b384fc94593c1f41f9f6bf6 (diff)
fix(test): use only a single timeout for op sanitizers (#20042)
Chipping away at making tests faster. Appears we don't need double timeout before sanitizing ops. This should cut baseline cost of running a test by half.
Diffstat (limited to 'cli/js/40_testing.js')
-rw-r--r--cli/js/40_testing.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/cli/js/40_testing.js b/cli/js/40_testing.js
index d119552e4..90a725fca 100644
--- a/cli/js/40_testing.js
+++ b/cli/js/40_testing.js
@@ -152,7 +152,6 @@ function assertOps(fn) {
// cleared can actually be removed from resource table, otherwise
// false positives may occur (https://github.com/denoland/deno/issues/4591)
await opSanitizerDelay();
- await opSanitizerDelay();
}
const post = core.metrics();
const postTraces = new Map(core.opCallTraces);