diff options
Diffstat (limited to 'tests/testdata/run/012_async.ts')
-rw-r--r-- | tests/testdata/run/012_async.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/testdata/run/012_async.ts b/tests/testdata/run/012_async.ts deleted file mode 100644 index 536197b68..000000000 --- a/tests/testdata/run/012_async.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Check that we can use the async keyword. -async function main() { - await new Promise((resolve) => { - console.log("2"); - setTimeout(resolve, 100); - }); - console.log("3"); -} - -console.log("1"); -main(); |