File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
examples/ct-vite-react-ts/patches Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11diff --git a/node_modules/@cypress/vite-dev-server/client/initCypressTests.js b/node_modules/@cypress/vite-dev-server/client/initCypressTests.js
2- index f0602c1..d7f05a0 100644
2+ index 0fbff85..0799f57 100644
33--- a/node_modules/@cypress/vite-dev-server/client/initCypressTests.js
44+++ b/node_modules/@cypress/vite-dev-server/client/initCypressTests.js
5- @@ -36 ,7 +36 ,7 @@ if (supportFile) {
5+ @@ -51 ,7 +51 ,7 @@ if (supportFile) {
66 // So we use the "@fs" bit to load the test file using its absolute path
77 // Normalize path to not include a leading slash (different on Win32 vs Unix)
88 const normalizedAbsolutePath = CypressInstance.spec.absolute.replace(/^\//, '')
9- - const testFileAbsolutePathRoute = `${devServerPublicPathRoute }/@fs/${normalizedAbsolutePath}`
10- + const testFileAbsolutePathRoute = `${devServerPublicPathRoute }/@fs/${normalizedAbsolutePath}?import`
9+ - const testFileAbsolutePathRoute = `${devServerPublicPathBase }/@fs/${normalizedAbsolutePath}`
10+ + const testFileAbsolutePathRoute = `${devServerPublicPathBase }/@fs/${normalizedAbsolutePath}?import`
1111
1212 /* Spec file import logic */
1313 // We need a slash before /src/my-spec.js, this does not happen by default.
You can’t perform that action at this time.
0 commit comments