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

fix(devtools): Do not patch mocked actions #2300

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

bodograumann
Copy link
Contributor

There were no devtools unittests afaics, so I added a new file.
Usually devtools are not loaded during unit tests, so I had to do the testing on the inner-most exposed level.
I am simulating a testing pinia with mocked actions and check that they are "sufficiently" preserved.

Fixes #2298

@netlify
Copy link

netlify bot commented Jul 6, 2023

Deploy Preview for pinia-official canceled.

Name Link
🔨 Latest commit 335aa23
🔍 Latest deploy log https://app.netlify.com/sites/pinia-official/deploys/64a6e1844be89c000817ca99

@codecov-commenter
Copy link

Codecov Report

Merging #2300 (335aa23) into v2 (56732a1) will not change coverage.
The diff coverage is n/a.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

@@           Coverage Diff           @@
##               v2    #2300   +/-   ##
=======================================
  Coverage   93.80%   93.80%           
=======================================
  Files          11       11           
  Lines        2858     2858           
  Branches      182      182           
=======================================
  Hits         2681     2681           
  Misses        175      175           
  Partials        2        2           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@doutatsu
Copy link

Any ETA on this getting merged?

@bodograumann
Copy link
Contributor Author

Anything I can do to get this merged, @posva ?
I really don't want to stay on an old version.
Does it make sense to rebase at this point?

@posva
Copy link
Member

posva commented Jan 2, 2024

This looks great, thanks for the PR! I haven’t been able to give this a look, sorry.
No need to rebase as it’s still mergeable

Copy link
Member

@posva posva left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks and sorry for the delay!

@posva posva merged commit 069ffd1 into vuejs:v2 Apr 17, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pinia 2.1.4 devtools are incompatible with @pinia/testing
4 participants