fix(info/doc): add missing --no-lock and --lock flags (#18166)

Closes #18159
This commit is contained in:
David Sherret 2023-03-13 17:04:00 -04:00 committed by GitHub
parent 3db03abf88
commit a35c8e6588
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 182 additions and 34 deletions

View file

@ -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",
});