@cypress/vite-dev-server
Advanced tools
Comparing version 5.0.3 to 5.0.4
@@ -37,3 +37,5 @@ // This file is merged in a <script type=module> into index.html | ||
// So we use the "@fs" bit to load the test file using its absolute path | ||
const testFileAbsolutePathRoute = `${devServerPublicPathRoute}/@fs${CypressInstance.spec.absolute}` | ||
// Normalize path to not include a leading slash (different on Win32 vs Unix) | ||
const normalizedAbsolutePath = CypressInstance.spec.absolute.replace(/^\//, '') | ||
const testFileAbsolutePathRoute = `${devServerPublicPathRoute}/@fs/${normalizedAbsolutePath}` | ||
@@ -40,0 +42,0 @@ /* Spec file import logic */ |
{ | ||
"name": "@cypress/vite-dev-server", | ||
"version": "5.0.3", | ||
"version": "5.0.4", | ||
"description": "Launches Vite Dev Server for Component Testing", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
27760
484