@travetto/test
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -30,3 +30,3 @@ { | ||
}, | ||
"version": "0.0.19" | ||
"version": "0.0.20" | ||
} |
@@ -132,6 +132,6 @@ import { AppEnv } from '@travetto/base'; | ||
(assert as any)[name].apply(null, args); | ||
} else if (name && args[1][name]) { // Method call | ||
} else if (args[1] && name && args[1][name]) { // Method call | ||
assert(args[1][name](args[0])); | ||
} else { | ||
assert.apply(assert, args); // Do normal | ||
assert.apply(null, args); // Do normal | ||
} | ||
@@ -138,0 +138,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
261800