summaryrefslogtreecommitdiff
path: root/tests/integration/run_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2024-03-08 00:32:11 +0000
committerGitHub <noreply@github.com>2024-03-08 01:32:11 +0100
commit2ed984ba3aa638c3f088ac1edc5c779c7d9195d1 (patch)
tree2240b8833d01f26109c140b295c1c297a3ef3461 /tests/integration/run_tests.rs
parent2d5b19277b483de64087822934d42fc3e09c1c24 (diff)
fix: respect unstable "temporal" configuration in config file (#22134)
Actual fix happened in https://github.com/denoland/deno/pull/22782, but this commit adds additional tests and cleans up V8 flags passed on init. Closes https://github.com/denoland/deno/issues/22123 Closes https://github.com/denoland/deno/issues/22560 Closes https://github.com/denoland/deno/issues/22557
Diffstat (limited to 'tests/integration/run_tests.rs')
-rw-r--r--tests/integration/run_tests.rs11
1 files changed, 9 insertions, 2 deletions
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs
index 77e1db2ab..637dc578b 100644
--- a/tests/integration/run_tests.rs
+++ b/tests/integration/run_tests.rs
@@ -5060,14 +5060,21 @@ Warning Sloppy module resolution (hint: specify path to index.tsx file in direct
}
itest!(unstable_temporal_api {
- args: "run --unstable-temporal --check run/unstable_temporal_api/main.ts",
+ args: "run --no-config --unstable-temporal --check run/unstable_temporal_api/main.ts",
+ output: "run/unstable_temporal_api/main.out",
+ http_server: false,
+ exit_code: 0,
+});
+
+itest!(unstable_temporal_api_config_file {
+ args: "run --check run/unstable_temporal_api/main.ts",
output: "run/unstable_temporal_api/main.out",
http_server: false,
exit_code: 0,
});
itest!(unstable_temporal_api_missing_flag {
- args: "run run/unstable_temporal_api/missing_flag.js",
+ args: "run --no-config run/unstable_temporal_api/missing_flag.js",
output: "run/unstable_temporal_api/missing_flag.out",
http_server: false,
exit_code: 1,