We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8757e07 commit af8f4dfCopy full SHA for af8f4df
test/specs/wrapper/setMethods.spec.js
@@ -27,6 +27,7 @@ describeWithShallowAndMount('setMethods', (mountingMethod) => {
27
// Replace the toggle function so that the data supposedly won't change
28
const toggleActive = () => console.log('overriden')
29
wrapper.setMethods({ toggleActive })
30
+ wrapper.find('.toggle').trigger('click')
31
expect(wrapper.vm.isActive).to.be.true
32
})
33
0 commit comments