There was an error while loading. Please reload this page.
1 parent e5c330d commit be9604cCopy full SHA for be9604c
1 file changed
tests/integration/test.ts
@@ -52,7 +52,7 @@ for (const dirent of fs.readdirSync(TEST_FIXTURES_ROOT, {
52
assert.ok(Array.isArray(results), "output is not array")
53
const result = results.map((r) => ({
54
...r,
55
- filePath: path.relative(TEST_CWD, r.filePath),
+ filePath: path.relative(TEST_CWD, r.filePath).replace(/\\/g, "/"),
56
}))
57
fs.writeFileSync(actualFile, JSON.stringify(result, null, 2))
58
0 commit comments