Open Phonesis opened 2 years ago
I am trying to use this lib with the cypress/react lib for component testing.
When I import this lib to the Cypress/support/index.js I get the following error and components I attempt to mount fail to render with:
fix Critical dependency: require function is used in a way in which dependencies cannot be statically extracted
As soon as I remove the import (import 'cypress-axe') it goes away.
import 'cypress-axe'
Am I doing something wrong?
I am trying to use this lib with the cypress/react lib for component testing.
When I import this lib to the Cypress/support/index.js I get the following error and components I attempt to mount fail to render with:
As soon as I remove the import (
import 'cypress-axe'
) it goes away.Am I doing something wrong?