@vue-bridge/testing
v0.2.1
Published
Wrapper over vue-test-utils to enable tests in cross-version Vue libraries
Downloads
918
Readme
@vue-bridge/testing
A thin wrapper around
@vue/test-utils
.
https://vue-bridge-docs.netlify.app/reference/testing
It re-exports all APIs of that package, but replaces mount
and shallowMount
with wrapper functions that ensure cross-compatibility between the two different APIs of @vue/test-utils
for Vue 2 and Vue 3, respectively.