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 1
1
diff --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
3
3
--- a/node_modules/@cypress/vite-dev-server/client/initCypressTests.js
4
4
+++ b/node_modules/@cypress/vite-dev-server/client/initCypressTests.js
5
- @@ -36 ,7 +36 ,7 @@ if (supportFile) {
5
+ @@ -51 ,7 +51 ,7 @@ if (supportFile) {
6
6
// So we use the "@fs" bit to load the test file using its absolute path
7
7
// Normalize path to not include a leading slash (different on Win32 vs Unix)
8
8
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`
11
11
12
12
/* Spec file import logic */
13
13
// 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