summaryrefslogtreecommitdiff
path: root/cli/tools/test_runner.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-05-17 09:44:38 +0200
committerLuca Casonato <lucacasonato@yahoo.com>2021-05-17 09:45:54 +0200
commit5151afa123a9635d2f4de9555f8843460b284a11 (patch)
tree7c4686c3f5562dc27d8b863897225236aeb97b14 /cli/tools/test_runner.rs
parent910935c07125e4710830be0df32a16c3ef278ba6 (diff)
fix: static import permissions in dynamic imports
Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/tools/test_runner.rs')
-rw-r--r--cli/tools/test_runner.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/test_runner.rs b/cli/tools/test_runner.rs
index fdb4be664..6b2eab36b 100644
--- a/cli/tools/test_runner.rs
+++ b/cli/tools/test_runner.rs
@@ -403,6 +403,7 @@ pub async fn run_tests(
.prepare_module_graph(
test_programs.clone(),
lib.clone(),
+ Permissions::allow_all(),
permissions.clone(),
program_state.maybe_import_map.clone(),
)
@@ -413,6 +414,7 @@ pub async fn run_tests(
.prepare_module_graph(
test_modules.clone(),
lib.clone(),
+ Permissions::allow_all(),
permissions.clone(),
program_state.maybe_import_map.clone(),
)