diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/js_unit_tests.rs | 1 | ||||
-rw-r--r-- | tests/specs/future/runtime_api/main.js | 1 | ||||
-rw-r--r-- | tests/specs/future/runtime_api/main.out | 1 | ||||
-rw-r--r-- | tests/unit/resources_test.ts | 11 |
4 files changed, 0 insertions, 14 deletions
diff --git a/tests/integration/js_unit_tests.rs b/tests/integration/js_unit_tests.rs index cbae4a0b8..9c4ac0e52 100644 --- a/tests/integration/js_unit_tests.rs +++ b/tests/integration/js_unit_tests.rs @@ -78,7 +78,6 @@ util::unit_test_factory!( remove_test, rename_test, request_test, - resources_test, response_test, serve_test, signal_test, diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js index 6bc83d30c..503b6e5fb 100644 --- a/tests/specs/future/runtime_api/main.js +++ b/tests/specs/future/runtime_api/main.js @@ -1,6 +1,5 @@ console.log("window is", globalThis.window); console.log("Deno.Buffer is", Deno.Buffer); -console.log("Deno.close is", Deno.close); console.log("Deno.copy is", Deno.copy); console.log("Deno.File is", Deno.File); console.log("Deno.fstat is", Deno.fstat); diff --git a/tests/specs/future/runtime_api/main.out b/tests/specs/future/runtime_api/main.out index 2a8167ef9..eca1c3741 100644 --- a/tests/specs/future/runtime_api/main.out +++ b/tests/specs/future/runtime_api/main.out @@ -1,6 +1,5 @@ window is undefined Deno.Buffer is undefined -Deno.close is undefined Deno.copy is undefined Deno.File is undefined Deno.fstat is undefined diff --git a/tests/unit/resources_test.ts b/tests/unit/resources_test.ts deleted file mode 100644 index 3c692a1a4..000000000 --- a/tests/unit/resources_test.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. - -// deno-lint-ignore-file no-deprecated-deno-api - -import { assertThrows } from "./test_util.ts"; - -Deno.test(function resourcesCloseBadArgs() { - assertThrows(() => { - Deno.close((null as unknown) as number); - }, TypeError); -}); |