Comparing version 0.2.54 to 0.2.55
@@ -0,1 +1,2 @@ | ||
export function nottestingNotTested(): void; | ||
export function testComparing(tc: t.TestCase): void; | ||
@@ -2,0 +3,0 @@ export function testFailing(): void; |
{ | ||
"name": "lib0", | ||
"version": "0.2.54", | ||
"version": "0.2.55", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -542,3 +542,7 @@ /** | ||
export const runTests = async tests => { | ||
const numberOfTests = object.map(tests, mod => object.map(mod, f => /* istanbul ignore next */ f ? 1 : 0).reduce(math.add, 0)).reduce(math.add, 0) | ||
/** | ||
* @param {string} testname | ||
*/ | ||
const filterTest = testname => testname.startsWith('test') || testname.startsWith('benchmark') | ||
const numberOfTests = object.map(tests, mod => object.map(mod, (f, fname) => /* istanbul ignore next */ f && filterTest(fname) ? 1 : 0).reduce(math.add, 0)).reduce(math.add, 0) | ||
let successfulTests = 0 | ||
@@ -552,3 +556,3 @@ let testnumber = 0 | ||
/* istanbul ignore else */ | ||
if (f) { | ||
if (f && filterTest(fname)) { | ||
const repeatEachTest = 1 | ||
@@ -555,0 +559,0 @@ let success = true |
@@ -0,1 +1,2 @@ | ||
export function nottestingNotTested(): void; | ||
export function testComparing(tc: t.TestCase): void; | ||
@@ -2,0 +3,0 @@ export function testFailing(): void; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
1079918
18951