diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-05-13 17:40:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-13 17:40:50 +0200 |
commit | 939a070c8cbe77626e07a01646c324b2ae5ac740 (patch) | |
tree | fed6f4053e2185380b9acabf17c1cf3b64e9d119 /cli/tests/integration/run_tests.rs | |
parent | b543e84b399ccfff9446d19c3b4cc55dab85c039 (diff) |
feat: add --no-config flag (#14555)
This flag disables loading of configuration file, ie. it will not be
automatically discovered and loaded. Of course this flag conflicts
with "--config" flag and they cannot be used together.
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 1cf22a51a..dc158fd7a 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -2560,6 +2560,12 @@ itest!(config_auto_discovered_for_local_script { output_str: Some("ok\n"), }); +itest!(no_config_auto_discovery_for_local_script { + args: "run --quiet --no-config run/with_config/frontend_work.ts", + output: "run/with_config/no_auto_discovery.out", + exit_code: 1, +}); + itest!(config_not_auto_discovered_for_remote_script { args: "run --quiet http://127.0.0.1:4545/run/with_config/server_side_work.ts", output_str: Some("ok\n"), |