summaryrefslogtreecommitdiff
path: root/cli/tests/integration/bench_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2023-03-13 17:04:00 -0400
committerGitHub <noreply@github.com>2023-03-13 17:04:00 -0400
commita35c8e6588fec21586bcb19146cad19fa01f4f23 (patch)
tree9960d58720a25263ca3ee8baca0966f2727b0f37 /cli/tests/integration/bench_tests.rs
parent3db03abf880ae1217d49d8a530a9dfa3f3760e51 (diff)
fix(info/doc): add missing `--no-lock` and `--lock` flags (#18166)
Closes #18159
Diffstat (limited to 'cli/tests/integration/bench_tests.rs')
-rw-r--r--cli/tests/integration/bench_tests.rs15
1 files changed, 15 insertions, 0 deletions
diff --git a/cli/tests/integration/bench_tests.rs b/cli/tests/integration/bench_tests.rs
index b2cd38475..e5174025e 100644
--- a/cli/tests/integration/bench_tests.rs
+++ b/cli/tests/integration/bench_tests.rs
@@ -224,3 +224,18 @@ itest!(package_json_basic {
copy_temp_dir: Some("package_json/basic"),
exit_code: 0,
});
+
+itest!(bench_lock {
+ args: "bench",
+ http_server: true,
+ cwd: Some("lockfile/basic"),
+ exit_code: 10,
+ output: "lockfile/basic/fail.out",
+});
+
+itest!(bench_no_lock {
+ args: "bench --no-lock",
+ http_server: true,
+ cwd: Some("lockfile/basic"),
+ output: "lockfile/basic/bench.nolock.out",
+});