summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2022-02-25 14:39:18 +0900
committerGitHub <noreply@github.com>2022-02-25 14:39:18 +0900
commit111c343281b559ea51fd66c2ddc260549406a822 (patch)
tree28cb914bc72b6c3f390ef12250c02c9a6177bcdd /cli/tests/integration/run_tests.rs
parent3b12afd0723b288feb7c8c53ac3938a17fd0e57c (diff)
fix(cli): disable config discovery for remote script (#13745)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r--cli/tests/integration/run_tests.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs
index e8ee10065..beb5e8cae 100644
--- a/cli/tests/integration/run_tests.rs
+++ b/cli/tests/integration/run_tests.rs
@@ -2500,3 +2500,14 @@ itest!(colors_without_global_this {
args: "run colors_without_globalThis.js",
output_str: Some("true\n"),
});
+
+itest!(config_auto_discovered_for_local_script {
+ args: "run --quiet run/with_config/frontend_work.ts",
+ output_str: Some("ok\n"),
+});
+
+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"),
+ http_server: true,
+});