Skip to content

Tags: phegman/vue-testing-library

Tags

v5.0.4

Toggle v5.0.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: prevent auto-cleanup to throw when asserting errors in async lif…

…ecycle hooks (testing-library#142)

* fix: delete wrappers before destroying

`wrapper.destroy()` will rethrow any errors via vue test utils `throwIfInstancesThrew`. ensure that wrappers are deleted from mountedWrappers at any time

* test: add tests for re-throwing async lifecycle hooks

* Update src/__tests__/cleanup-throw.js

Co-authored-by: Adrià Fontcuberta <afontcu@gmail.com>

v5.0.3

Toggle v5.0.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: update VTU to v1, update types

* feat(@vue/test-utils): upgrade to v1

* refactor(vtu): upgrade to 1.0.2

* Update build-related packages

* Remove removed sync option

* Bump DOM Testing Library

* Bump to VTU 1.0.3

* Fix Vuetify test

* Remove test unrelated to Vuetify

* Bump DTL patch version

* Add @afenton90 as a contributor

Co-authored-by: Adrià Fontcuberta <afontcu@gmail.com>

v5.0.2

Toggle v5.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(mocha): fix vue-router creation using mocha (testing-library#128)

* fix(testing-library#119): allow routes vue-router creation through routes param from both jest and mocha

* add test to check vue-router require for mocha users

* fix Vue Router require to be compatible with CommonJS

* delete deprecated test

v5.0.1

Toggle v5.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(mocha): allow vue-router creation using mocha (testing-library#127)

* fix(testing-library#119): allow routes vue-router creation through routes param from both jest and mocha

* add test to check vue-router require for mocha users

v5.0.0

Toggle v5.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: update @testing-library/dom (testing-library#125)

BREAKING CHANGE: The latest version of DOM Testing Library has several breaking changes, so you will want to review its changelog to ensure you are unaffected.
Also, this release drops support for Node 8. Upgrade to Node 10 or greater.

v4.2.0

Toggle v4.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(screen): add screen export from DTL + Update deps (testing-libra…

…ry#121)

* Bump versions

* Add warning on veevalidate 2.X usage

* Use newest jest-dom import syntax

* Fix formatting

v4.1.0

Toggle v4.1.0's commit message
feat(debug): allow debugging an array of containers

* Allow debug multiple elements

* Split tests using existing templates instead of creating a new one

* Add formater

v4.0.0

Toggle v4.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat: Bound DTL queries to the base element (testing-library#100)

Closes testing-library#98 

BREAKING CHANGE: baseElement is no longer tied to the document body, and container is no longer the parent node of the element wrapper, but a wrapper div.

These changes shouldn't affect you if you weren't relying on either `baseElement` or `container`.

v3.0.0

Toggle v3.0.0's commit message
feat(cleanup): automatically cleanup if afterEach is detected (testin…

…g-library#80)

You can disable this with the VTL_SKIP_CLEANUP environment variable, but it's recommended to have cleanup work this way.

Closes testing-library#77 

BREAKING CHANGE: If your tests were not isolated before (and you referenced the same component between tests) then this change will break your tests. You should keep your tests isolated, but if you're unable/unwilling to do that right away, then you can run your tests with the environment variable VTL_SKIP_AUTO_CLEANUP set to true.

v2.1.0

Toggle v2.1.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
feat(types): add types (testing-library#87)

* Add types explanation
* Install types