From ad98c9fdd16b6d9a26b02a1ba83eaf04f0782674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 29 Aug 2022 11:35:27 +0200 Subject: chore: update test_util/std/ submodule (#15657) --- cli/tests/integration/npm_tests.rs | 11 ++++++----- test_util/std | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/cli/tests/integration/npm_tests.rs b/cli/tests/integration/npm_tests.rs index b890232a3..c59b18be3 100644 --- a/cli/tests/integration/npm_tests.rs +++ b/cli/tests/integration/npm_tests.rs @@ -9,7 +9,7 @@ use util::http_server; // NOTE: See how to make test npm packages at ../testdata/npm/README.md itest!(esm_module { - args: "run --allow-read --unstable npm/esm/main.js", + args: "run --allow-read --allow-env --unstable npm/esm/main.js", output: "npm/esm/main.out", envs: env_vars(), http_server: true, @@ -27,14 +27,14 @@ itest!(esm_module_eval { }); itest!(esm_module_deno_test { - args: "test --allow-read --unstable npm/esm/test.js", + args: "test --allow-read --allow-env --unstable npm/esm/test.js", output: "npm/esm/test.out", envs: env_vars(), http_server: true, }); itest!(cjs_with_deps { - args: "run --allow-read --unstable npm/cjs_with_deps/main.js", + args: "run --allow-read --allow-env --unstable npm/cjs_with_deps/main.js", output: "npm/cjs_with_deps/main.out", envs: env_vars(), http_server: true, @@ -69,7 +69,7 @@ itest!(compare_globals { }); itest!(dynamic_import { - args: "run --allow-read --unstable npm/dynamic_import/main.ts", + args: "run --allow-read --allow-env --unstable npm/dynamic_import/main.ts", output: "npm/dynamic_import/main.out", envs: env_vars(), http_server: true, @@ -90,7 +90,7 @@ itest!(no_unstable { }); itest!(import_map { - args: "run --allow-read --unstable --import-map npm/import_map/import_map.json npm/import_map/main.js", + args: "run --allow-read --allow-env --unstable --import-map npm/import_map/import_map.json npm/import_map/main.js", output: "npm/import_map/main.out", envs: env_vars(), http_server: true, @@ -111,6 +111,7 @@ fn parallel_downloading() { "run", "--allow-read", "--unstable", + "--allow-env", "npm/cjs_with_deps/main.js", ], None, diff --git a/test_util/std b/test_util/std index ec1137421..28956f795 160000 --- a/test_util/std +++ b/test_util/std @@ -1 +1 @@ -Subproject commit ec11374217b94e8d0ca604e669faabe5ade5d9a4 +Subproject commit 28956f795762e8dd9b6213687ce32665319fa98a -- cgit v1.2.3