feat: Vue unit tests - remove hard requirement of a navManager
injection when not using any navigation
#22506
Labels
Milestone
navManager
injection when not using any navigation
#22506
Feature Request
Ionic version:
[x] 5.x
Describe the Feature Request
When doing unit testing with
@ionic/vue
, provide a way to not have to mount a component with the router if the component is not actually using any routing.Currently, the following warning is raised in these situations:
Related Code
The following tests raise the above warning:
https://github.com/kensodemann/tea-taster-vue/blob/main/tests/unit/views/Tea.spec.ts
However, the code itself is not (yet) doing any routing:
The text was updated successfully, but these errors were encountered: