summaryrefslogtreecommitdiff
path: root/tests/012_async.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/012_async.ts')
-rw-r--r--tests/012_async.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/012_async.ts b/tests/012_async.ts
deleted file mode 100644
index 1f1822c04..000000000
--- a/tests/012_async.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-// Check that we can use the async keyword.
-async function main(): Promise<void> {
- await new Promise(
- (resolve): void => {
- console.log("2");
- setTimeout(resolve, 100);
- }
- );
- console.log("3");
-}
-
-console.log("1");
-main();