From d7eded5ebd5a9b973bd8ec3cb0e57c8ab762eaea Mon Sep 17 00:00:00 2001 From: Trent Willis Date: Sun, 19 Mar 2017 11:42:21 -0700 Subject: [PATCH] fixup! CLI: Introduce QUnit CLI --- bin/utils.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/utils.js b/bin/utils.js index 1664397bc..16d56da9a 100644 --- a/bin/utils.js +++ b/bin/utils.js @@ -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 @@ -17,7 +17,7 @@ function getFilesFromArgs( args ) { let stat = existsStat( glob ); if ( stat && stat.isDirectory() ) { - return `${glob}/*.js`; + return `${glob}/**/*.js`; } else { return glob; }