@tapjs/fixture
Advanced tools
Comparing version 1.2.16 to 1.2.17
@@ -86,2 +86,6 @@ "use strict"; | ||
this.#t.onEOF = onEOF; | ||
if ((0, node_path_1.relative)(process.cwd(), dir) === '') { | ||
// cd out of it first, or else Windows fails with EBUSY every time | ||
process.chdir((0, node_path_1.dirname)(dir)); | ||
} | ||
await (0, rimraf_1.rimraf)(dir); | ||
@@ -88,0 +92,0 @@ await onEOF(); |
@@ -69,2 +69,6 @@ // module code goes here | ||
this.#t.onEOF = onEOF; | ||
if (relative(process.cwd(), dir) === '') { | ||
// cd out of it first, or else Windows fails with EBUSY every time | ||
process.chdir(dirname(dir)); | ||
} | ||
await rimraf(dir); | ||
@@ -71,0 +75,0 @@ await onEOF(); |
{ | ||
"name": "@tapjs/fixture", | ||
"version": "1.2.16", | ||
"version": "1.2.17", | ||
"description": "Tap plugin to provide t.testdir() and t.fixture()", | ||
@@ -47,3 +47,3 @@ "tshy": { | ||
"peerDependencies": { | ||
"@tapjs/core": "1.4.5" | ||
"@tapjs/core": "1.4.6" | ||
}, | ||
@@ -50,0 +50,0 @@ "tap": { |
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
67500
729
117853