From e4ea9be87463ce1b13e826db80452b17a9762f32 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Mon, 16 Sep 2024 09:28:35 +1000 Subject: chore: cleanup remaining `internals.future` code (#25624) --- tests/specs/future/runtime_api/main.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 tests/specs/future/runtime_api/main.js (limited to 'tests/specs/future/runtime_api/main.js') diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js deleted file mode 100644 index 8ccbf0ba0..000000000 --- a/tests/specs/future/runtime_api/main.js +++ /dev/null @@ -1,15 +0,0 @@ -console.log("window is", globalThis.window); - -try { - new Deno.FsFile(0); -} catch (error) { - if ( - error instanceof TypeError && - error.message === - "`Deno.FsFile` cannot be constructed, use `Deno.open()` or `Deno.openSync()` instead." - ) { - console.log("Deno.FsFile constructor is illegal"); - } -} - -self.close(); -- cgit v1.2.3