From 2242c6c7921fcb681d3be7683fba862b4954b04a Mon Sep 17 00:00:00 2001 From: Parsa Ghadimi Date: Wed, 30 May 2018 17:03:55 +0430 Subject: Use wildcard to check stack trace outputs (#3) --- testdata/async_error.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 testdata/async_error.ts (limited to 'testdata/async_error.ts') 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"); -- cgit v1.2.3