Skip to content

Commit 3309a57

Browse files
committed
test: try using windowsPathsNoEscape
1 parent 6e86902 commit 3309a57

File tree

3 files changed

+287
-99
lines changed

3 files changed

+287
-99
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class TestExclude {
118118

119119
async glob(cwd = this.cwd) {
120120
const globPatterns = getExtensionPattern(this.extension || []);
121-
const globOptions = { cwd, nodir: true, dot: true, posix: true };
121+
const globOptions = { cwd, nodir: true, dot: true, windowsPathsNoEscape: true };
122122
/* If we don't have any excludeNegated then we can optimize glob by telling
123123
* it to not iterate into unwanted directory trees (like node_modules). */
124124
if (this.excludeNegated.length === 0) {

0 commit comments

Comments
 (0)