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alpha.2
- 2.0.0-alpha.1
- 2.0.0-alpha.0
- 1.0.0-beta.33
- 1.0.0-beta.32
- 1.0.0-beta.31
- 1.0.0-beta.30
- 1.0.0-beta.29
- 1.0.0-beta.28
- 1.0.0-beta.27
- 1.0.0-beta.26
- 1.0.0-beta.25
- 1.0.0-beta.24
- 1.0.0-beta.23
- 1.0.0-beta.22
- 1.0.0-beta.21
- 1.0.0-beta.20
- 1.0.0-beta.19
- 1.0.0-beta.18
- 1.0.0-beta.17
- 1.0.0-beta.16
- 1.0.0-beta.15
- 1.0.0-beta.14
- 1.0.0-beta.13
- 1.0.0-beta.12
- 1.0.0-beta.11
- 1.0.0-beta.10
<script src=" https://cdn.jsdelivr.net/npm/@vue/test-utils@2.4.6/dist/vue-test-utils.cjs.min.js "></script>
Vue Test Utils
Component testing utils for Vue 3.
Languages
🇫🇷 French version of this README.md
Installation and Usage
- yarn:
yarn add @vue/test-utils --dev
- npm:
npm install @vue/test-utils --save-dev
Get started with the documentation.
Coming from Vue 2 + Test Utils v1?
Check the migration guide. It's still a work in progress. If you find a problem or something that doesn't work that previously did in Vue Test Utils v1, please open an issue.
Documentation
See the docs.
Development
Get started by running pnpm install
. You can run the tests with pnpm test
. That's it!
Contributing Docs
All the documentation files can be found in packages/docs
. It contains the English markdown files while translation(s) are stored in their corresponding <lang>
sub-folder(s):
fr
: French translation.
Besides that, the .vitepress
sub-folder contains the config and theme, including the i18n information.
pnpm docs:dev
: Start the docs dev server.pnpm docs:build
: Build the docs.
To add or maintain the translations, we follow the Vue Ecosystem Translation Guidelines.
pnpm docs:translation:status [<lang>]
: Show the translation status for your language. If you don't specify a language, it will show the status for all languages.pnpm docs:translation:compare <lang>
: Compare the docs with the latest checkpoint for your language.pnpm docs:translation:update <lang> [<commit>]
: Update the checkpoint for your language. The checkpoint will be set by the latest commit hash. However, you can also specify a commit hash manually.