From 213282b7f354a2d841b0fb7defd8fd771ff00bc0 Mon Sep 17 00:00:00 2001 From: popomore Date: Mon, 2 Apr 2018 01:31:46 +0800 Subject: [PATCH] fix: should ignore fixtures and node_modules --- lib/cmd/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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