1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-22 15:06:54 -05:00
denoland-deno/cli/tests/testdata/error_cause_recursive_aggregate.ts.out
David Sherret 54890ee98b
chore(tests): ability to pattern match unordered lines (#20488)
This adds the ability to pattern match unordered lines. For example, the
downloading messages may appear in any order

```
[UNORDERED_START]
Download https://localhost:4546/a.ts
Download https://localhost:4546/b.ts
[UNORDERED_END]
Hello!
```

Additionally, I've made the pattern matching slightly more strict and the output better.
2023-09-14 16:21:57 +00:00

14 lines
582 B
Text

error: Uncaught AggregateError
Error: bar <ref *1>
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:2:13
Caused by: Error: foo
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:1:13
Caused by: [Circular *1]
Error: quux <ref *2>
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:6:14
Caused by: Error: qux
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:5:13
Caused by: [Circular *2]
throw new AggregateError([bar, quux]);
^
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:9:7