Skip to content

Commit

Permalink
Some test tweaking to ensure proper test execution order
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Feb 5, 2013
1 parent 2f945e1 commit 607f1ea
Show file tree
Hide file tree
Showing 10 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
],
"scripts": {
"pretest": "jshint --config ./node_modules/yui-lint/jshint.json ./lib/*.js ./lib/*/*.js ./bin/*.js ./tests/*.js",
"test": "istanbul cover --print both vows -- --spec ./tests/*.js"
"test": "istanbul cover --print both vows -- --spec `ls ./tests/*.js | sort -n`"
},
"preferGlobal": "true",
"bugs": { "url" : "http://github.com/davglass/grover/issues" },
Expand Down
4 changes: 2 additions & 2 deletions tests/args.js → tests/1-args.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,10 +327,10 @@ var tests = {
},
'check --import <shorthand>': {
topic: function() {
return parse(['-i', './tests/args.js']);
return parse(['-i', './tests/1-args.js']);
},
'should be path': function(topic) {
assert.equal(topic['import'], path.join(__dirname, '../tests/args.js'));
assert.equal(topic['import'], path.join(__dirname, '../tests/1-args.js'));
}
},
'--coverage': {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 607f1ea

Please sign in to comment.