diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-04-11 07:26:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-10 17:26:35 -0400 |
commit | c6f1107e9c8835389479f4f2d80d3539d23df41e (patch) | |
tree | 4fdf2e9c02d23364cae0aab9021d1655274d1d5c /tests/integration/check_tests.rs | |
parent | 7c5745a204637f12e53e62821c6e7e91fee21fbe (diff) |
chore: update references to `deno_std` to use JSR (#23239)
There are more uses of `deno.land/std` in the codebase, but for URL
parsing purposes rather than network calls or documentation.
Diffstat (limited to 'tests/integration/check_tests.rs')
-rw-r--r-- | tests/integration/check_tests.rs | 9 |
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()); |