summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/trace_ops_caught_error/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/test/trace_ops_caught_error/main.ts')
-rw-r--r--cli/tests/testdata/test/trace_ops_caught_error/main.ts12
1 files changed, 0 insertions, 12 deletions
diff --git a/cli/tests/testdata/test/trace_ops_caught_error/main.ts b/cli/tests/testdata/test/trace_ops_caught_error/main.ts
deleted file mode 100644
index 8194a8b2a..000000000
--- a/cli/tests/testdata/test/trace_ops_caught_error/main.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-Deno.test("handle thrown error in async function", async () => {
- const dirPath = Deno.makeTempDirSync();
- const filePath = `${dirPath}/file.txt`;
- try {
- await Deno.stat(filePath);
- } catch {
- await Deno.writeTextFile(filePath, "");
- } finally {
- await Deno.remove(filePath);
- await Deno.remove(dirPath);
- }
-});