diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-03-13 17:04:00 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-13 17:04:00 -0400 |
commit | a35c8e6588fec21586bcb19146cad19fa01f4f23 (patch) | |
tree | 9960d58720a25263ca3ee8baca0966f2727b0f37 /cli/tests/integration/test_tests.rs | |
parent | 3db03abf880ae1217d49d8a530a9dfa3f3760e51 (diff) |
fix(info/doc): add missing `--no-lock` and `--lock` flags (#18166)
Closes #18159
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r-- | cli/tests/integration/test_tests.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs index de7bc5fed..047dcbc7e 100644 --- a/cli/tests/integration/test_tests.rs +++ b/cli/tests/integration/test_tests.rs @@ -453,3 +453,18 @@ itest!(package_json_basic { copy_temp_dir: Some("package_json/basic"), exit_code: 0, }); + +itest!(test_lock { + args: "test", + http_server: true, + cwd: Some("lockfile/basic"), + exit_code: 10, + output: "lockfile/basic/fail.out", +}); + +itest!(test_no_lock { + args: "test --no-lock", + http_server: true, + cwd: Some("lockfile/basic"), + output: "lockfile/basic/test.nolock.out", +}); |