-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.2.0] Cannot find module './lib/axios' #1405
Comments
Thank you for reporting. Looking into it now. |
@wKovacs64 @beardedtim looks like this problem is coming form Cypress being unexpectedly aggressive in overloading any variable called A simple workaround I found is to use axe.min.js instead of axe.js. You can require it from I'll put together a fix for this. Shouldn't be too difficult, just have to rename that |
Use derequire the rename all uses of `require` to `_dereq_` to avoid the problem of Cypress overloading the `require` method. Closes #1405 ## Reviewer checks **Required fields, to be filled out by PR reviewer(s)** - [x] Follows the commit message policy, appropriate for next version - [x] Has documentation updated, a DU ticket, or requires no documentation change - [x] Includes new tests, or was unnecessary - [x] Code is reviewed for security by: Stephen
Thanks @WilcoFiers & crew! |
Attempts to update
axe-core
from 3.1.2 to 3.2.0 are causing Cypress tests to fail. From the error message, it looks like it can't resolveaxios
anymore?Expectation: no errors
Actual:
Error: Cannot find module './lib/axios' from '/root/project/node_modules/axe-core'
Motivation: N/A
Thanks.
The text was updated successfully, but these errors were encountered: