Skip to content
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

docs: Update testing.md with setActivePinia() method #2356

Conversation

ramsesmoreno
Copy link

I have found that if I don't call the setActivePinia() method it throws and error getActivePinia() was called but there was no active Pinia

I have found that if I don't call the `setActivePinia()` method it throws and error `getActivePinia() was called but there was no active Pinia`
@netlify
Copy link

netlify bot commented Aug 16, 2023

Deploy Preview for pinia-official ready!

Name Link
🔨 Latest commit 4c9a29e
🔍 Latest deploy log https://app.netlify.com/sites/pinia-official/deploys/64dd01666abae900089f9d9b
😎 Deploy Preview https://deploy-preview-2356--pinia-official.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@posva posva added the need repro This issue couldn't be reproduced label Aug 17, 2023
@posva
Copy link
Member

posva commented Aug 17, 2023

Thanks! Normally this is not needed (it works in testing.spec.ts). Do you have a repro or a failing test here?

@ramsesmoreno
Copy link
Author

Created a blank project and worked without setActivePinia() 🤔. I'll check the differences.

@posva
Copy link
Member

posva commented Sep 1, 2023

Closing due to inactivity. Please open a new issue with a reference to this one if you can follow up with more information.

@posva posva closed this Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need repro This issue couldn't be reproduced
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants