From a35c8e6588fec21586bcb19146cad19fa01f4f23 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Mon, 13 Mar 2023 17:04:00 -0400 Subject: fix(info/doc): add missing `--no-lock` and `--lock` flags (#18166) Closes #18159 --- cli/tests/integration/test_tests.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'cli/tests/integration/test_tests.rs') 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", +}); -- cgit v1.2.3