GitXplorerGitXplorer
v

test-utils

public
1023 stars
245 forks
29 issues

Commits

List of commits on branch main.
Verified
0497d7a31a35c7de910d5324fc4a936bed6f60eb

fix: re-add peer dependencies but with wider range (#2511)

GGi11i4m committed 19 hours ago
Unverified
4e3885f72bf70d2bd5b8b187b7404108eec7d5ea

chore(deps): update all non-major dependencies

rrenovate[bot] committed 2 days ago
Unverified
b3c5446eb92d27de71e5c7066487cdafaa4caebd

chore(deps): update all non-major dependencies

rrenovate[bot] committed 4 days ago
Unverified
582d7d7bc7d86babbdd3c13de2f7150b80686e84

chore(deps): update all non-major dependencies

rrenovate[bot] committed 23 days ago
Verified
e3c88273ace7a0e1c5a5eaf8f7cd60c80f73e39c

fix: switch browser and require exports definitions (#2501)

ssronveaux committed 25 days ago
Unverified
ec60d8914a6114c1b9ceac7923a225e718f4eb09

chore(deps): update dependency jsdom to v25

rrenovate[bot] committed a month ago

README

The README file for this repository.

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.