We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b03cca commit 3f7526cCopy full SHA for 3f7526c
test/bin.ts
@@ -29,7 +29,7 @@ const mockForegroundChild = {
29
if (options !== undefined) {
30
throw new Error('should not pass in spawn opts')
31
}
32
- foregroundChildCalls.push([cmd, args])
+ foregroundChildCalls.push([cmd, args.map(a => a.replace(/\\/g, '/'))])
33
},
34
35
t.beforeEach(() => (foregroundChildCalls.length = 0))
0 commit comments