diff --git a/lib/cmd/test.js b/lib/cmd/test.js index c2ed834d..294443d1 100644 --- a/lib/cmd/test.js +++ b/lib/cmd/test.js @@ -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