summaryrefslogtreecommitdiff
path: root/cli/tests/integration/compile_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-06-08 11:48:29 -0400
committerGitHub <noreply@github.com>2023-06-08 11:48:29 -0400
commit55f01508540e015563e5e54fd0652e81b347b9c1 (patch)
treedee62f23a86df0545801956aa4422825b940e821 /cli/tests/integration/compile_tests.rs
parent976c38104569182ba41d9351a108e673f63ffb98 (diff)
refactor(compile): store the npm snapshot in the eszip (#19343)
Diffstat (limited to 'cli/tests/integration/compile_tests.rs')
-rw-r--r--cli/tests/integration/compile_tests.rs3
1 files changed, 3 insertions, 0 deletions
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))