diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-08-30 17:58:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-30 21:58:24 +0000 |
commit | f891e73bbfc4a8f4f24039dd046c8d3de80e2c56 (patch) | |
tree | d3ca7e1163550cc7fee6d523269d6a3636218da0 /tests/integration/compile_tests.rs | |
parent | 55137c9db4ed7226a6a68256c3cb9fdad7ad7c83 (diff) |
refactor: remove DENO_FUTURE (#25314)
Diffstat (limited to 'tests/integration/compile_tests.rs')
-rw-r--r-- | tests/integration/compile_tests.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/integration/compile_tests.rs b/tests/integration/compile_tests.rs index 60451e005..54a82b913 100644 --- a/tests/integration/compile_tests.rs +++ b/tests/integration/compile_tests.rs @@ -989,7 +989,7 @@ fn run_npm_bin_compile_test(opts: RunNpmBinCompileOptions) { args.extend(opts.compile_args.iter().map(|s| s.to_string())); if opts.node_modules_local { - args.push("--node-modules=local-auto".to_string()); + args.push("--node-modules-dir=auto".to_string()); } if let Some(bin_name) = opts.input_name { @@ -1052,7 +1052,7 @@ fn compile_node_modules_symlink_outside() { // compile folder let output = context .new_command() - .args("compile --allow-read --node-modules=local-auto --output bin main.ts") + .args("compile --allow-read --node-modules-dir=auto --output bin main.ts") .run(); output.assert_exit_code(0); output.assert_matches_file( @@ -1075,7 +1075,7 @@ fn compile_node_modules_symlink_outside() { // compile let output = context .new_command() - .args("compile --allow-read --node-modules=local-auto --output bin main.ts") + .args("compile --allow-read --node-modules-dir=auto --output bin main.ts") .run(); output.assert_exit_code(0); output.assert_matches_file( @@ -1105,7 +1105,7 @@ console.log(getValue());"#, // compile folder let output = context .new_command() - .args("compile --allow-read --node-modules=local-auto --output bin main.ts") + .args("compile --allow-read --node-modules-dir=auto --output bin main.ts") .run(); output.assert_exit_code(0); output.assert_matches_text( |