Resolved path for `axe.min.js` incorrect when using Cypress Component Testing (with Vite) and npm workspaces
dhulme opened this issue ยท 1 comments
dhulme commented
cypress-axe uses require.resolve
to generate the path to axe-core/axe.min.js
. Vite does not implement require.resolve
(see vitejs/vite#4385) so cypress-axe falls back to node_modules/axe-core/axe.min.js
for the location. This works fine in normal circumstances, but fails if the node_modules
directory is at a different level, for example when using npm workspaces.
github-actions commented
๐ This issue has been resolved in version 1.3.0 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐