Skip to content

Releases: voodoocreation/react-test-wrapper

Add `HookWrapper` class + add `updateProps` function to `Wrapper` classes

16 Dec 04:49
Compare
Choose a tag to compare

Changes

This version includes a new HookWrapper abstract class (docs), as well as adds support for all Wrapper classes to return an updateProps function with the rest of the return values of the .render() method.

Update to React 18 + remove Enzyme support

24 Jan 04:12
Compare
Choose a tag to compare

Changes

This version upgrades React to support version 18, and removes Enzyme support.

Update dependencies + fix RTL id query

15 Sep 04:08
Compare
Choose a tag to compare
3.0.5

update deps + fix id query function

Update documentation

09 Jul 01:24
Compare
Choose a tag to compare
3.0.4

fix docs

Fix busted package

08 Jul 09:43
Compare
Choose a tag to compare

Changes

The previous versions resulted in busted package contents - this version fixes that.

Remove `dist` from import paths

08 Jul 09:25
Compare
Choose a tag to compare

Changes

The previous version accidentally included dist in the package contents - this version removes that to fix the import paths.

Add support for `react-testing-library`

08 Jul 09:08
Compare
Choose a tag to compare

Changes

This version adds variants of the Wrapper classes, with some additional tools for react-testing-library.

To cater for one or the other, the import paths had to be changed, so now instead of this:

import { Wrapper } from "react-test-wrapper";

You now have to use one of these depending on which tooling you'd like to use:

// For enzyme
import { Wrapper } from "react-test-wrapper/enzyme";

// For react-testing-library
import { Wrapper } from "react-test-wrapper/react-testing-library";

For more details, please refer to the documentation in the README.

Update dependencies

12 May 00:24
Compare
Choose a tag to compare
2.1.1

bump version

Update dependencies

17 Nov 21:40
Compare
Choose a tag to compare
2.1.0

update dependencies

Update dependencies

01 Apr 23:10
Compare
Choose a tag to compare
2.0.3

update dependencies