[Bug Report] Test of VOverflowBtn not correct
borisdayma opened this issue · comments
Versions and Environment
Vuetify: 2.0.0-alpha.10
Vue: 2.6.10
Browsers: Chrome 73.0.3683.75
OS: Windows 10
Steps to reproduce
Pull request #6797 was merged, however an error was introduced: see line 41 of VOverflowBtn.spec.ts in pull request diff.
Expected Behavior
The test "segmented - should warn when item has no callback" should be executed switching from one item with callback to one item without as previously.
Actual Behavior
Both items have no callback and the warning is tipped. However, this is an easier test than when switching between 2 items.
Reproduction Link
https://github.com/borisdayma/vuetify/tree/tests/VOverflowBtn
Other comments
When simply changing back first item to { text: 'Hello', callback: () => {} }
, the test does not pass.
I put it in the wrong package. Moved issue to vuetifyjs/vuetify#6810