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 eab9148 commit 99acb5aCopy full SHA for 99acb5a
src/runner/browser-env/vite/plugins/generate-index-html.ts
@@ -38,7 +38,7 @@ export const plugin = async (): Promise<Plugin[]> => {
38
const driverModulePath = path.resolve(browserModulesPath, "driver.js");
39
const mockModulePath = path.resolve(browserModulesPath, "mock.js");
40
41
- const automationProtocolPath = `/@fs${driverModulePath}`;
+ const automationProtocolPath = path.join("/@fs", driverModulePath).replace(/\\/g, "/");
42
43
const stubDefaultModulePath = path.resolve(browserModulesPath, "stubs/default-module.js");
44
const stubImportMetaResolvePath = path.resolve(browserModulesPath, "stubs/import-meta-resolve.js");
0 commit comments