@tapjs/before
Advanced tools
Comparing version 0.0.0-18 to 0.0.0-19
@@ -31,2 +31,7 @@ "use strict"; | ||
if (this.#t.occupied) { | ||
// use a silent test as a roadblock so that async subtests | ||
// scheduled after this will have to wait for it. | ||
if (this.#t.jobs > 1) { | ||
this.#t.t.test('pause for before()', { silent: true, buffered: false }, t => t.end()); | ||
} | ||
this.#t.queue.push(() => this.#call(fn, true)); | ||
@@ -33,0 +38,0 @@ } |
@@ -28,2 +28,7 @@ /** | ||
if (this.#t.occupied) { | ||
// use a silent test as a roadblock so that async subtests | ||
// scheduled after this will have to wait for it. | ||
if (this.#t.jobs > 1) { | ||
this.#t.t.test('pause for before()', { silent: true, buffered: false }, t => t.end()); | ||
} | ||
this.#t.queue.push(() => this.#call(fn, true)); | ||
@@ -30,0 +35,0 @@ } |
{ | ||
"name": "@tapjs/before", | ||
"version": "0.0.0-18", | ||
"version": "0.0.0-19", | ||
"description": "a built-in tap extension for t.before()", | ||
@@ -35,5 +35,3 @@ "type": "module", | ||
"keywords": [ | ||
"tap", | ||
"spy", | ||
"fake" | ||
"tapjs plugin" | ||
], | ||
@@ -47,3 +45,3 @@ "author": "Isaac Z. Schlueter", | ||
"peerDependencies": { | ||
"@tapjs/core": "0.0.0-18" | ||
"@tapjs/core": "0.0.0-19" | ||
}, | ||
@@ -50,0 +48,0 @@ "engines": { |
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
18161
185