@travetto/test
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "0.0.17" | ||
"version": "0.0.18" | ||
} |
@@ -123,7 +123,13 @@ import { AppEnv } from '@travetto/base'; | ||
case 'assert': assert.apply(assert, args); break; | ||
case 'ok': | ||
case 'fail': | ||
case 'doesNotThrow': | ||
case 'ifError': | ||
(assert as any)[name].apply(null, args); | ||
break; | ||
default: | ||
if (args[1][name]) { | ||
if (name && args[1][name]) { | ||
assert(args[1][name](args[0])); | ||
} else { | ||
(assert as any)[name].apply(null, args); | ||
assert.apply(assert, args); | ||
} | ||
@@ -130,0 +136,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
261589
1258