Skip to content
Permalink
Browse files

fix: make sure files sort in all platforms (#86)

  • Loading branch information
fengmk2 authored and popomore committed Dec 11, 2017
1 parent be233c9 commit 6689962082fb86591adfcaf0d85687096cdb851d
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/cmd/test.js
@@ -94,6 +94,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.sort();

// auto add setup file as the first test file
const setupFile = path.join(process.cwd(), 'test/.setup.js');

0 comments on commit 6689962

Please sign in to comment.
You can’t perform that action at this time.