Skip to content

Commit ddfeb8b

Browse files
committed
Fix CI
1 parent 65fc4a4 commit ddfeb8b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ test('invalid version does not cause catatrophic backtracking', t => {
117117
const fixture = `0.0.0-0${'.-------'.repeat(index)}@`;
118118
semverRegex().test(fixture);
119119
const difference = Date.now() - start;
120-
t.true(difference < 10, `Execution time: ${difference}`);
120+
t.true(difference < 20, `Execution time: ${difference}`);
121121
}
122122

123123
for (let index = 1; index <= 20; index++) {
124124
const start = Date.now();
125125
const fixture = `0.0.1-${'-.--'.repeat(index)} `;
126126
semverRegex().test(fixture);
127127
const difference = Date.now() - start;
128-
t.true(difference < 10, `Execution time: ${difference}`);
128+
t.true(difference < 20, `Execution time: ${difference}`);
129129
}
130130
});

0 commit comments

Comments
 (0)