summaryrefslogtreecommitdiff
path: root/cli/tests/integration/run_tests.rs
diff options
context:
space:
mode:
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,
+});