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
It works perfectly, but the router emits a warning:
console.warn node_modules/vue-router/dist/vue-router.cjs.js:225
[Vue Router warn]: No match found for location with path "/"
As most tests are using the same code, the warning is emitted a lot and pollutes the test output.
Until VTU or the router itself provides built-in support for testing (if ever, see vuejs/test-utils#152 for curious readers), do you think we could guard this warning with a setting to hide it? I can open a PR if you provide some guidance (and think this is useful of course).
The text was updated successfully, but these errors were encountered:
Hello, thank you for taking time filling this issue!
However, we kindly ask you to use our Issue Helper when creating new issues, in order to ensure every issue provides the necessary information for us to investigate. This explains why your issue has been automatically closed by me (your robot friend!).
I hope to see your helper-created issue very soon!
When adding tests to a component using the router, one might need to provide a mock router. I currently use:
It works perfectly, but the router emits a warning:
As most tests are using the same code, the warning is emitted a lot and pollutes the test output.
Until VTU or the router itself provides built-in support for testing (if ever, see vuejs/test-utils#152 for curious readers), do you think we could guard this warning with a setting to hide it? I can open a PR if you provide some guidance (and think this is useful of course).
The text was updated successfully, but these errors were encountered: