summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-11-03 16:42:56 +0100
committerGitHub <noreply@github.com>2022-11-03 16:42:56 +0100
commitdae3940519d626ddfeb954e3f3d7ebe8b83067bf (patch)
tree31877f91b39c623e208a81c029b26b119c878205 /cli/tests/integration/run_tests.rs
parenta99539bd4d8466ef305e1cc7ce9a5b8f2c6b4881 (diff)
fix(lock): add --no-lock flag to disable auto discovery of lock file (#16526)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index 1f4f7d2ae..8265d54ec 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -3635,3 +3635,10 @@ itest!(auto_discover_lockfile {
http_server: true,
exit_code: 10,
});
+
+itest!(no_lock_flag {
+ args: "run --no-lock run/no_lock_flag/main.ts",
+ output: "run/no_lock_flag/main.out",
+ http_server: true,
+ exit_code: 0,
+});