Skip to content

Commit da8879d

Browse files
tests: use the same browser instance across tests and better use explicit resource management (#2901)
On my machine, reduces time taken to perform `deno task test` from ~1m20s to ~30s. Inspired by and supersedes #2110. --------- Co-authored-by: Marvin Hagemeister <marvin@deno.com>
1 parent 17257dd commit da8879d

File tree

3 files changed

+78
-119
lines changed

3 files changed

+78
-119
lines changed

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"@std/semver": "jsr:@std/semver@1",
6868
"@std/streams": "jsr:@std/streams@1",
6969

70-
"@astral/astral": "jsr:@astral/astral@^0.5.2",
70+
"@astral/astral": "jsr:@astral/astral@^0.5.3",
7171
"@marvinh-test/fresh-island": "jsr:@marvinh-test/fresh-island@^0.0.1",
7272
"linkedom": "npm:linkedom@^0.18.10",
7373
"@std/async": "jsr:@std/async@^1.0.13",

deno.lock

Lines changed: 63 additions & 89 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)