summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-08-04 22:29:04 +0900
committerGitHub <noreply@github.com>2023-08-04 22:29:04 +0900
commit8a175a780a43b4cec7adfff5adbc65d8784aa4ed (patch)
treef341f4624402ded312b0c89659d5a135ac01cd35 /cli/tests/integration/test_tests.rs
parent6405b5f454e140b0d79b603b0627debd246c7b9f (diff)
fix(test): make test runner work when global setTimeout is replaced (#20052)
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 57acb723e..bcf050adf 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -529,6 +529,11 @@ itest!(test_no_lock {
output: "lockfile/basic/test.nolock.out",
});
+itest!(test_replace_timers {
+ args: "test test/replace_timers.js",
+ output: "test/replace_timers.js.out",
+});
+
#[test]
fn test_with_glob_config() {
let context = TestContextBuilder::new().cwd("test").build();