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 54d3dfa commit 75077d7Copy full SHA for 75077d7
1 file changed
src/plugin-tester.ts
@@ -361,9 +361,9 @@ function pluginTester(options: PluginTesterOptions = {}) {
361
return filePath
362
? {
363
functionName,
364
- // ? Paranoid just in case the script name/path has colons
+ // ? Just in case the script name/path has colons
365
filePath: filePath
366
- .split('file://')
+ .split(`file://${process.platform == 'win32' ? '/' : ''}`)
367
.at(-1)!
368
.split(':')
369
.slice(0, -2)
0 commit comments