Skip to content

Commit

Permalink
allow redos spec only
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Apr 12, 2019
1 parent 8316a93 commit 0620845
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/specs/redos-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ describe('ReDOS tests', () => {
return;
}

it(file, () => {
const spec = require(path.resolve(redosDir, file));
const spec = require(path.resolve(redosDir, file));
(spec.only ? fit : it)(file, () => {
const before = process.hrtime();
expect(spec).toRender(spec.html);
const elapsed = process.hrtime(before);
Expand Down

0 comments on commit 0620845

Please sign in to comment.