From 55f01508540e015563e5e54fd0652e81b347b9c1 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Thu, 8 Jun 2023 11:48:29 -0400 Subject: refactor(compile): store the npm snapshot in the eszip (#19343) --- cli/tests/integration/compile_tests.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cli/tests/integration/compile_tests.rs') diff --git a/cli/tests/integration/compile_tests.rs b/cli/tests/integration/compile_tests.rs index f202fc87e..c3a5048a1 100644 --- a/cli/tests/integration/compile_tests.rs +++ b/cli/tests/integration/compile_tests.rs @@ -1068,6 +1068,9 @@ fn run_npm_bin_compile_test(opts: RunNpmBinCompileOptions) { output.assert_exit_code(0); output.skip_output_check(); + // delete the npm folder in the DENO_DIR to ensure it's not using it + context.deno_dir().remove_dir_all("./npm"); + // run let binary_path = if cfg!(windows) { temp_dir.path().join(format!("{}.exe", opts.expected_name)) -- cgit v1.2.3