Skip to content

Commit 0d9ce2e

Browse files
committed
work around broken ava timeout
1 parent 9757463 commit 0d9ce2e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"scripts": {
1616
"build": "echo nothing to build",
1717
"lint": "eslint .",
18-
"test": "ava test/*"
18+
"test": "ava test/* --timeout=30s"
1919
},
2020
"dependencies": {
2121
"shift-ast": "^7.0.0",

test/valid-subtrees.js

-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ function isValidButSubtreeIsNotValid(tree) {
5151

5252
test('fuzzing: all subtrees of random trees are valid and well-formed', async t => {
5353
t.plan(0);
54-
t.timeout(30e3); // 30 second
5554
outer: for (let i = 0; i < 100; ++i) {
5655
let tree = (Math.random() < 0.5 ? fuzzScript : fuzzModule)();
5756
if (!valid(tree)) {

0 commit comments

Comments
 (0)