diff options
author | Parsa Ghadimi <me@qti3e.com> | 2018-05-30 17:03:55 +0430 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-05-30 08:33:55 -0400 |
commit | 2242c6c7921fcb681d3be7683fba862b4954b04a (patch) | |
tree | 12a1b50c1e180caafb35a7f37df64aed98e8399d /testdata/async_error.ts | |
parent | 1156467c937f5b9af532a25fa80a706eea8f959d (diff) |
Use wildcard to check stack trace outputs (#3)
Diffstat (limited to 'testdata/async_error.ts')
-rw-r--r-- | testdata/async_error.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testdata/async_error.ts b/testdata/async_error.ts new file mode 100644 index 000000000..12dee11eb --- /dev/null +++ b/testdata/async_error.ts @@ -0,0 +1,9 @@ + +console.log("hello"); +const foo = async () => { + console.log("before error"); + throw Error("error"); +} + +foo(); +console.log("world"); |