mirror of
https://github.com/flynx/test.js.git
synced 2026-07-10 20:30:59 +00:00
updated default file pattern (fix)))) )...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
41f2234ee9
commit
0d52010e68
@ -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": {
|
||||||
|
|||||||
5
test.js
5
test.js
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user