Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions bin/qunit-cli
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ var argv = require('optimist')

var assign = require('object-assign')

var files = argv._;
// Resolve test file paths
var flatGlob = require('flat-glob');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

glob why not https://www.npmjs.com/package/glob. eh, flat-glob uses glob ;)

var files = flatGlob.sync(argv._);

// Resolve modules
var resolve = require('path').resolve;
Expand Down Expand Up @@ -51,6 +53,5 @@ files.forEach(function(file) {
require(resolve(file))
});


// Start the suite
QUnit.load();
QUnit.load();
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"bugs": "http://github.com/devongovett/qunit/issues",
"dependencies": {
"colors": "*",
"flat-glob": "0.0.1",
"object-assign": "^2.0.0",
"optimist": ">=0.3",
"qunitjs": "^1.15.0"
Expand Down