Skip to content

Commit

Permalink
fixup! CLI: Introduce QUnit CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
Trent Willis committed Mar 19, 2017
1 parent 2ad27de commit d7eded5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function getFilesFromArgs( args ) {

// Default to files in the test directory
if ( !globs.length ) {
globs.push( "test/*.js" );
globs.push( "test/**/*.js" );
}

// For each of the potential globs, we check if it is a directory path and
Expand All @@ -17,7 +17,7 @@ function getFilesFromArgs( args ) {
let stat = existsStat( glob );

if ( stat && stat.isDirectory() ) {
return `${glob}/*.js`;
return `${glob}/**/*.js`;
} else {
return glob;
}
Expand Down

0 comments on commit d7eded5

Please sign in to comment.