Add async tests from prototype

This commit is contained in:
Ryan Dahl 2018-08-10 15:16:41 -04:00
parent c7ce450ee9
commit 4772c14d12
4 changed files with 33 additions and 0 deletions

9
tests/async_error.ts Normal file
View file

@ -0,0 +1,9 @@
console.log("hello");
const foo = async () => {
console.log("before error");
throw Error("error");
}
foo();
console.log("world");