Skip to content

Commit bba251f

Browse files
committed
fix: TestsServer.run with filepath not working on windows
1 parent 552b9fd commit bba251f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class TestsServer {
165165
* is mentioned
166166
*/
167167
if (filePath) {
168-
filters['--files'] = [filePath]
168+
filters['--files'] = [filePath.replace(/\\/g, '/')]
169169
}
170170

171171
this.busy = true

0 commit comments

Comments
 (0)