From 14aaa73c0200d7fac4aa224d623e28b5955daab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Wed, 26 Apr 2023 19:57:38 +0200 Subject: refactor: don't expose Deno[Deno.internal].core namespace (#18816) --- test_napi/cleanup_hook_test.js | 1 + test_napi/tests/napi_tests.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'test_napi') diff --git a/test_napi/cleanup_hook_test.js b/test_napi/cleanup_hook_test.js index 30ceae470..15741b60a 100644 --- a/test_napi/cleanup_hook_test.js +++ b/test_napi/cleanup_hook_test.js @@ -12,6 +12,7 @@ if (import.meta.main) { const { stdout, stderr, code } = await new Deno.Command(Deno.execPath(), { args: [ "run", + "--enable-testing-features-do-not-use", "--allow-read", "--allow-run", "--allow-ffi", diff --git a/test_napi/tests/napi_tests.rs b/test_napi/tests/napi_tests.rs index 747f6aa27..722dc9417 100644 --- a/test_napi/tests/napi_tests.rs +++ b/test_napi/tests/napi_tests.rs @@ -31,6 +31,7 @@ fn napi_tests() { .arg("--allow-env") .arg("--allow-ffi") .arg("--allow-run") + .arg("--enable-testing-features-do-not-use") .spawn() .unwrap() .wait_with_output() -- cgit v1.2.3