Skip to content

Commit

Permalink
fix: should ignore fixtures and node_modules (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
popomore authored Apr 1, 2018
1 parent 7531faa commit e73c569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cmd/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class TestCommand extends Command {
}

// expand glob and skip node_modules and fixtures
files = globby.sync(files.concat('!test/**/{fixtures, node_modules}/**/*.test.js'));
files = globby.sync(files.concat([ '!test/fixtures', '!test/node_modules' ]));
files.sort();

// auto add setup file as the first test file
Expand Down

0 comments on commit e73c569

Please sign in to comment.