You may now await methods that update the DOM, where you would have used nextTick before. #1517. For example:
// before
wrapper.trigger('click')
await wrapper.vm.$nextTick()
// after
await wrapper.trigger('click')
Other
This is v1, and some methods will be deprecated moving forward as per this RFC. (#1518) Warnings have been added. You can disable these warnings with config.showDeprecationWarnings:
import { config } from `@vue/test-utils`
config.showDeprecationWarnings = false
There are some bugs that may never be fixed, or require a significant rethink of the architecture. This release does not reflect a perfect library, but one that is stable and unlikely to change or go away anytime soon. Significant changes will now go via the RFC process. Finally, we will continue to update the library - 1.0 does not mean "done and dusted".
We are working on support for Vue 3! Find it here.
Thanks to all the contributors who helped us finally hit the 1.0.0 🖖
This version was pushed to npm by lmiller1990, a new releaser for @vue/test-utils since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the `.dependabot/config.yml` file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps @vue/test-utils from 1.0.0-beta.29 to 1.0.0.
Release notes
Sourced from @vue/test-utils's releases.
Changelog
Sourced from @vue/test-utils's changelog.
Commits
4a77a11
chore(release): publish v1.0.01ad01af
chore: revertb9237bd
chore: revert incorrect publish66c5038
refactor: cleanup find methods and tests (#1525)aa7b76d
feat: return nextTick from setters, fix #1515 (#1517)7a0b7e0
feat: Optionally hide deprecation errors (#1518)c2de268
chore: improve deprecations6f0a41a
feat: stub out transitions by default (#1411)f3d0d3f
feat: add support of arbitrary mounting point via attachTo option (#1492)4b0c5c9
feat(test-utils): add 'overview' function (#1491)Maintainer changes
This version was pushed to npm by lmiller1990, a new releaser for @vue/test-utils since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)