Vue Test Utils is the official testing library for Vue.js.
This repository provides the following two packages:
You can install these packages by the following command.
npm install --save-dev @vue/test-utils npm install --save-dev @vue/server-test-utils
You need to install
vue-template-compiler which is used to compile components. It should be the same version as the version of Vue you are using.
npm install --save-dev vue-template-compiler
Refer to the documentation
Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.
Please make sure to read the Contributing Guide before making a pull request.
Changes for each release are documented in the release notes.
Stay In Touch
For the latest releases and announcements, follow on Twitter: @vuejs