Package detail

@vue-bridge/testing

LinusBorg1.2kMIT0.2.1

Wrapper over vue-test-utils to enable tests in cross-version Vue libraries

readme

@vue-bridge/testing

current npm version NPM npm downloads per month

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.