summaryrefslogtreecommitdiff
path: root/tests/integration/check_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/check_tests.rs')
-rw-r--r--tests/integration/check_tests.rs9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/integration/check_tests.rs b/tests/integration/check_tests.rs
index e97a40141..72fb2d9b7 100644
--- a/tests/integration/check_tests.rs
+++ b/tests/integration/check_tests.rs
@@ -215,7 +215,7 @@ fn reload_flag() {
#[test]
fn typecheck_declarations_ns() {
- let context = TestContext::default();
+ let context = TestContextBuilder::for_jsr().build();
let args = vec![
"test".to_string(),
"--doc".to_string(),
@@ -224,7 +224,12 @@ fn typecheck_declarations_ns() {
.to_string_lossy()
.into_owned(),
];
- let output = context.new_command().args_vec(args).split_output().run();
+ let output = context
+ .new_command()
+ .args_vec(args)
+ .envs(util::env_vars_for_jsr_tests())
+ .split_output()
+ .run();
println!("stdout: {}", output.stdout());
println!("stderr: {}", output.stderr());