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
When shallowMount a component which passes down a boolean prop to a child component, such prop is SOMETIMES undefined. mount works as expected. Please see my demo repo tests for details.
eddyerburgh
changed the title
shallowMount does not always work with child component's boolean prop
Prop declared in mixin is not recognized when using shallowMount
Jan 15, 2019
When
shallowMount
a component which passes down a boolean prop to a child component, such prop is SOMETIMESundefined
.mount
works as expected. Please see my demo repo tests for details.Version
1.0.0-beta.28
Reproduction link
https://github.com/lzhoucs/vue-test-utils-bugreport/tree/1094-shallowMount-boolean-prop-issue
Steps to reproduce
What is expected?
All 3 tests pass
What is actually happening?
the one with vuetify's
V-Btn
failsNot sure if this is a vuetify issue or vue-test-utils one. Filed it here for now.
The text was updated successfully, but these errors were encountered: