We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65fc4a4 commit ddfeb8bCopy full SHA for ddfeb8b
test.js
@@ -117,14 +117,14 @@ test('invalid version does not cause catatrophic backtracking', t => {
117
const fixture = `0.0.0-0${'.-------'.repeat(index)}@`;
118
semverRegex().test(fixture);
119
const difference = Date.now() - start;
120
- t.true(difference < 10, `Execution time: ${difference}`);
+ t.true(difference < 20, `Execution time: ${difference}`);
121
}
122
123
for (let index = 1; index <= 20; index++) {
124
const start = Date.now();
125
const fixture = `0.0.1-${'-.--'.repeat(index)} `;
126
127
128
129
130
});
0 commit comments