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 e844905 commit e293834Copy full SHA for e293834
packages/core/src/test/testRunner.ts
@@ -84,7 +84,8 @@ export async function runTests(
84
})
85
86
const dist = path.resolve(root, 'dist')
87
- const testFile = process.env['TEST_FILE']?.replace('.ts', '.js')
+ const rawTestFile = process.env['TEST_FILE']
88
+ const testFile = rawTestFile?.replace(/\\/g, '/').replace('.ts', '.js')
89
let testFilePath: string | undefined
90
if (testFile?.includes('../core/')) {
91
testFilePath = path.resolve(root, testFile.replace('../core/', '../core/dist/'))
0 commit comments