Skip to content

Disabling/Removing Symbol(pinia) warnings in test console? #2635

Closed Answered by posva
Sensanaty asked this question in Help and Questions
Discussion options

You must be logged in to vote

The warning comes from Vue, not pinia. You should override the global objects (if that's the way you are doing it) when passing options to mount(). You can clear the plugins array config.global.plugins = [].

However, I recommend you to remove the createTestingPinia() from the global plugin settings. Only add it in tests where it's needed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Sensanaty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants