updated default file pattern (fix)))) )...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2026-06-28 16:20:42 +03:00
parent 41f2234ee9
commit 0d52010e68
2 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "ig-test", "name": "ig-test",
"version": "1.6.8", "version": "1.6.9",
"description": "experimental test runner....", "description": "experimental test runner....",
"main": "test.js", "main": "test.js",
"bin": { "bin": {

View File

@ -39,7 +39,7 @@ var argv = require('ig-argv')
// | <path> // | <path>
// | [ <path>, .. ] // | [ <path>, .. ]
// //
module.DEFAULT_TEST_FILES = '**/?(*-)test.js' module.DEFAULT_TEST_FILES = '{**/?(*-)test.js,**/test/**.js}'
// //
@ -790,8 +790,7 @@ argv.Parser({
// list tests... // list tests...
// //
//default_files: undefined, default_files: undefined,
default_files: '{**/test/*.js,**-test.js,**/test.js,test.js}',
// NOTE: this uses .helpColumnOffset to align origins... // NOTE: this uses .helpColumnOffset to align origins...
// XXX if we do the printing in .stop(..) this will see all the modules... // XXX if we do the printing in .stop(..) this will see all the modules...
'-l': '-list', '-l': '-list',