Description
Describe the bug
When running the latest versions of @testing-library/vue
& @vue/test-utils
I get the following 2 console.error
from @vue/test-utils
:
[vue-test-utils]: options.attachToDocument is deprecated in favor of options.attachTo and will be removed in a future release
[vue-test-utils]: isVueInstance is deprecated and will removed in the next major version
It is true that these will be deprecated in the next major version of @vue/test-utils
and there are alternatives available in the latest releases.
To Reproduce Steps to reproduce the behavior:
Install the latest versions of @testing-library/vue
& @vue/test-utils
and run tests.
Expected behavior
The warnings above do not appear as the library has been refactored.
Related information:
@testing-library/vue
version: 5.0.2Vue
version: 2.6.11@vue/test-utils
version: 1.0.0node
version: v12.6.0npm
(oryarn
) version: 1.22.4
Additional context
Looks like @vue/test-utils
has recently had it's 1.0.0 release with these added