-
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.
fix(runtime/testing): format aggregate errors
- Loading branch information
1 parent
f27902e
commit a243343
Showing
4 changed files
with
39 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Check [WILDCARD]/testdata/test/aggregate_error.ts | ||
running 1 test from [WILDCARD]/testdata/test/aggregate_error.ts | ||
test aggregate ... FAILED ([WILDCARD]) | ||
|
||
failures: | ||
|
||
aggregate | ||
Error: Error 1 | ||
at [WILDCARD]/testdata/test/aggregate_error.ts:2:18 | ||
[WILDCARD] | ||
Error: Error 2 | ||
at [WILDCARD]/testdata/test/aggregate_error.ts:3:18 | ||
[WILDCARD] | ||
|
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Deno.test("aggregate", function () { | ||
const error1 = new Error("Error 1"); | ||
const error2 = new Error("Error 2"); | ||
|
||
throw new AggregateError([error1, error2]); | ||
}); |
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