Skip to content

Commit d79d123

Browse files
committed
increase timeout for malicious.js
1 parent a476f77 commit d79d123

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/malicious.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async fn malicious_fail() -> anyhow::Result<()> {
1515
.test("hello", "olleh")
1616
.create_file("malicious.js", include_str!("./malicious.js"))
1717
.run_rules(rules)
18-
.timeout(Duration::from_millis(1000));
18+
.timeout(Duration::from_secs(2));
1919
dbg!(&runner);
2020

2121
let results = runner.run().await?;

0 commit comments

Comments
 (0)