-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(cli): refactor bench/test for future module changes (#21460)
Extracting some refactorings for the module work that will land in denoland/deno_core#359
- Loading branch information
Showing
8 changed files
with
142 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 1,9 @@ | ||
error: Uncaught TypeError: Cannot read properties of undefined (reading 'fn') | ||
error: TypeError: Cannot read properties of undefined (reading 'fn') | ||
Deno.bench(); | ||
^ | ||
at [WILDCARD] | ||
at [WILDCARD]/bench/no_check.ts:1:6 | ||
This error was not caught from a benchmark and caused the bench runner to fail on the referenced module. | ||
It most likely originated from a dangling promise, event/timeout handler or top-level code. | ||
|
||
error: Bench failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 1,11 @@ | ||
Check [WILDCARD]/bench/unhandled_rejection.ts | ||
error: Uncaught (in promise) Error: rejection | ||
error: (in promise) Error: rejection | ||
reject(new Error("rejection")); | ||
^ | ||
at [WILDCARD]/bench/unhandled_rejection.ts:2:10 | ||
at new Promise (<anonymous>) | ||
at [WILDCARD]/bench/unhandled_rejection.ts:1:1 | ||
This error was not caught from a benchmark and caused the bench runner to fail on the referenced module. | ||
It most likely originated from a dangling promise, event/timeout handler or top-level code. | ||
|
||
error: Bench failed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters