@tapjs/core
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -95,2 +95,6 @@ /** | ||
/** | ||
* treat only:true tests as failures, default false | ||
*/ | ||
failOnly?: boolean; | ||
/** | ||
* The amount of time that this test took to complete. | ||
@@ -97,0 +101,0 @@ * |
@@ -357,2 +357,3 @@ "use strict"; | ||
'failSkip', | ||
'failOnly', | ||
'diagnostic', | ||
@@ -414,2 +415,7 @@ ]; | ||
} | ||
if (extra.only && this.options.failOnly) { | ||
extra.failedOnly = 'only:true tests not allowed'; | ||
delete extra.only; | ||
ok = false; | ||
} | ||
const diagnostic = typeof extra.diagnostic === 'boolean' ? extra.diagnostic | ||
@@ -416,0 +422,0 @@ : typeof this.diagnostic === 'boolean' ? this.diagnostic |
@@ -95,2 +95,6 @@ /** | ||
/** | ||
* treat only:true tests as failures, default false | ||
*/ | ||
failOnly?: boolean; | ||
/** | ||
* The amount of time that this test took to complete. | ||
@@ -97,0 +101,0 @@ * |
@@ -328,2 +328,3 @@ import * as stack from '@tapjs/stack'; | ||
'failSkip', | ||
'failOnly', | ||
'diagnostic', | ||
@@ -385,2 +386,7 @@ ]; | ||
} | ||
if (extra.only && this.options.failOnly) { | ||
extra.failedOnly = 'only:true tests not allowed'; | ||
delete extra.only; | ||
ok = false; | ||
} | ||
const diagnostic = typeof extra.diagnostic === 'boolean' ? extra.diagnostic | ||
@@ -387,0 +393,0 @@ : typeof this.diagnostic === 'boolean' ? this.diagnostic |
{ | ||
"name": "@tapjs/core", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "pluggable core of node-tap", | ||
@@ -54,5 +54,5 @@ "tshy": { | ||
"dependencies": { | ||
"@tapjs/processinfo": "^3.1.7", | ||
"@tapjs/processinfo": "^3.1.8", | ||
"@tapjs/stack": "2.0.1", | ||
"@tapjs/test": "2.0.1", | ||
"@tapjs/test": "2.1.0", | ||
"async-hook-domain": "^4.0.1", | ||
@@ -59,0 +59,0 @@ "diff": "^5.2.0", |
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
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
867974
10623
+ Added@tapjs/after@1.1.25(transitive)
+ Added@tapjs/after-each@2.0.2(transitive)
+ Added@tapjs/asserts@2.0.2(transitive)
+ Added@tapjs/before@2.0.2(transitive)
+ Added@tapjs/before-each@2.0.2(transitive)
+ Added@tapjs/filter@2.0.2(transitive)
+ Added@tapjs/fixture@2.0.2(transitive)
+ Added@tapjs/intercept@2.0.2(transitive)
+ Added@tapjs/mock@2.1.0(transitive)
+ Added@tapjs/node-serialize@2.0.2(transitive)
+ Added@tapjs/snapshot@2.0.2(transitive)
+ Added@tapjs/spawn@2.0.2(transitive)
+ Added@tapjs/stdin@2.0.2(transitive)
+ Added@tapjs/test@2.1.0(transitive)
+ Added@tapjs/typescript@1.4.7(transitive)
+ Added@tapjs/worker@2.0.2(transitive)
- Removed@tapjs/after@1.1.24(transitive)
- Removed@tapjs/after-each@2.0.1(transitive)
- Removed@tapjs/asserts@2.0.1(transitive)
- Removed@tapjs/before@2.0.1(transitive)
- Removed@tapjs/before-each@2.0.1(transitive)
- Removed@tapjs/filter@2.0.1(transitive)
- Removed@tapjs/fixture@2.0.1(transitive)
- Removed@tapjs/intercept@2.0.1(transitive)
- Removed@tapjs/mock@2.0.1(transitive)
- Removed@tapjs/node-serialize@2.0.1(transitive)
- Removed@tapjs/snapshot@2.0.1(transitive)
- Removed@tapjs/spawn@2.0.1(transitive)
- Removed@tapjs/stdin@2.0.1(transitive)
- Removed@tapjs/test@2.0.1(transitive)
- Removed@tapjs/typescript@1.4.6(transitive)
- Removed@tapjs/worker@2.0.1(transitive)
Updated@tapjs/processinfo@^3.1.8
Updated@tapjs/test@2.1.0