You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My best guess is that there's some separation between the main app code and the Cypress test code, where they're not referring to the same global instance of Axios.
#166 may be related. Any insight or help is appreciated.
The text was updated successfully, but these errors were encountered:
I have a Vue project set up with Vue CLI, with axios, axios-mock-adapter, and cypress:
I'm able to get
axios-mock-adapter
to work with the Jest unit tests, but not with the Cypress e2e tests. In Cypress, the calls are not intercepted.I'm setting my tests up in a normal way like
And in my normal api-calling code, I'm doing normal requests like
My best guess is that there's some separation between the main app code and the Cypress test code, where they're not referring to the same global instance of Axios.
#166 may be related. Any insight or help is appreciated.
The text was updated successfully, but these errors were encountered: