Skip to content

Commit

Permalink
fix: make sure files sort in all platforms (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 authored and popomore committed Dec 11, 2017
1 parent be233c9 commit 6689962
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/cmd/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6689962

Please sign in to comment.