Replies: 1 comment 1 reply
-
|
Do you have jsdom as your environment? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Setup
Vue 3
Vue router 4
Pinia 2
Description
Hi. I have two Pinia stores. Both of the stores import functions from each other. One of the stores uses axios. I am importing only one of the Pinia stores like the example shown here: Pinia docs. When I start the test with a simple check like
expect(1).toBe(1), I am getting this error:When I comment out the axios part, I am getting this error:
Beta Was this translation helpful? Give feedback.
All reactions