216

GitHub - vuejs/vue-test-utils: Utilities for testing Vue components

 6 years ago
source link: https://github.com/vuejs/vue-test-utils
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Vue Test Utils

Component testing utils for Vue 2.

Packages

This repository provides the following two packages:

You can install these packages by the following command.

npm install --save-dev @vue/test-utils@1
npm install --save-dev @vue/server-test-utils@1

Peer Dependencies

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

Documentation

Refer to the documentation

Questions

For questions and support please use the Discord chat room or the official forum. The issue list of this repo is exclusively for bug reports and feature requests.

Issues

Please make sure to read the issue reporting requirements before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Contribution

Please make sure to read the Contributing Guide before making a pull request.

Changelog

Changes for each release are documented in the release notes.

Stay In Touch

For the latest releases and announcements, follow on Twitter: @vuejs

License

MIT


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK