From c6f1107e9c8835389479f4f2d80d3539d23df41e Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 11 Apr 2024 07:26:35 +1000 Subject: 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. --- tests/integration/check_tests.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'tests/integration/check_tests.rs') 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()); -- cgit v1.2.3