Skip to content

Commit

Permalink
fix(config): Do not sort spec keys
Browse files Browse the repository at this point in the history
Fixes #2928
  • Loading branch information
NickTomlin authored and juliemr committed Feb 12, 2016
1 parent 3d12d89 commit a2c7a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/configParser.js
Expand Up @@ -151,7 +151,7 @@ ConfigParser.getSpecs = function(config) {
return config.specs;
}

Object.keys(config.suites || {}).sort().forEach(function(suite) {
Object.keys(config.suites || {}).forEach(function(suite) {
union(specs, makeArray(config.suites[suite]));
});
return specs;
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/config_test.js
Expand Up @@ -51,7 +51,7 @@ describe('the config parser', function() {

var specs = new ConfigParser.getSpecs(config);

expect(specs).toEqual(['bar.spec.js', 'foo.spec.js']);
expect(specs).toEqual(['foo.spec.js', 'bar.spec.js']);
});
});

Expand Down

0 comments on commit a2c7a4b

Please sign in to comment.