[vue-test-utils]: isVisible is deprecated
1. Situation
[vue-test-utils]: isVisible is deprecated and will be removed in the next major version. Consider a custom matcher such as those provided in jest-dom: https://github.com/testing-library/jest-dom#tobevisible. When using with findComponent, access the DOM element with findComponent(Comp).element.
2. Solution
$ npm install --save-dev @testing-library/jest-dom
- expect(wrapper.find('button').isVisible()).toBe(false)
+ expect(wrapper.find('button').element).not.toBeVisible()