mirror of
https://github.com/flynx/test.js.git
synced 2026-05-17 10:23:04 +00:00
fix
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5e5204d04b
commit
130e7c6c1a
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-test",
|
"name": "ig-test",
|
||||||
"version": "1.6.6",
|
"version": "1.6.7",
|
||||||
"description": "experimental test runner....",
|
"description": "experimental test runner....",
|
||||||
"main": "test.js",
|
"main": "test.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
6
test.js
6
test.js
@ -508,7 +508,7 @@ function(spec, chain, mod_chain_length=1){
|
|||||||
.filter(function(m){
|
.filter(function(m){
|
||||||
return typeof(modifiers[m]) == 'function'
|
return typeof(modifiers[m]) == 'function'
|
||||||
// skip methods starting with '_'...
|
// skip methods starting with '_'...
|
||||||
&& t[0] != '_'
|
&& m[0] != '_'
|
||||||
&& (chain == '**'
|
&& (chain == '**'
|
||||||
|| chain.mod == '*'
|
|| chain.mod == '*'
|
||||||
|| chain.mod == m) })
|
|| chain.mod == m) })
|
||||||
@ -528,7 +528,7 @@ function(spec, chain, mod_chain_length=1){
|
|||||||
.filter(function(s){
|
.filter(function(s){
|
||||||
return typeof(setups[s]) == 'function'
|
return typeof(setups[s]) == 'function'
|
||||||
// skip methods starting with '_'...
|
// skip methods starting with '_'...
|
||||||
&& t[0] != '_'
|
&& s[0] != '_'
|
||||||
&& (chain == '**'
|
&& (chain == '**'
|
||||||
|| chain.setup == '*'
|
|| chain.setup == '*'
|
||||||
|| chain.setup == s) })
|
|| chain.setup == s) })
|
||||||
@ -556,7 +556,7 @@ function(spec, chain, mod_chain_length=1){
|
|||||||
.filter(function(s){
|
.filter(function(s){
|
||||||
return typeof(cases[s]) == 'function'
|
return typeof(cases[s]) == 'function'
|
||||||
// skip methods starting with '_'...
|
// skip methods starting with '_'...
|
||||||
&& t[0] != '_'
|
&& s[0] != '_'
|
||||||
&& (chain == '**'
|
&& (chain == '**'
|
||||||
|| chain.setup == '*'
|
|| chain.setup == '*'
|
||||||
|| chain.setup == s) })
|
|| chain.setup == s) })
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user