Releases: smaato/react-test-kit
Releases · smaato/react-test-kit
React 16 update
15 Jan 15:37
Compare
Sorry, something went wrong.
No results found
Merge pull request #17 from smaato/react-16-update
React 16 update
v0.2.0
01 Feb 11:31
Compare
Sorry, something went wrong.
No results found
Breaking changes
Upgraded react to ^15.0.0 instead of fixed 15.0.1.
v0.1.0
15 Apr 16:42
Compare
Sorry, something went wrong.
No results found
Breaking changes
Upgraded react to 15.0.1 and redux-form to 5.0.1.
v0.0.6
11 Mar 16:38
Compare
Sorry, something went wrong.
No results found
Improvements
You can now specify the initial store state by passing an object to mockFormStore.
v0.0.5
08 Feb 17:47
Compare
Sorry, something went wrong.
No results found
Features
TestCaseFactory has create() convenience method, which accepts both React Component Class and stateless functional component references.
Improvements
ContainerTestCase now asserts that there are no unexpected state props on the tested Container.
v0.0.4
08 Jan 17:23
Compare
Sorry, something went wrong.
No results found
Breaking changes
Upgraded react-redux to 4.0.6.
Features
The TestCase trigger method now accepts an eventData object as its third parameter.
mockFormStore method lets you test components built with redux-form.
Improvements
TestCase firstComponent and findComponents methods throw informative errors when called with a non-class.
v0.0.3
10 Dec 19:40
Compare
Sorry, something went wrong.
No results found
Bug fixes
Fixes bug with using props.children. Now you can specify children via the props arguments when creating TestCase instances.
Improvements
Misuse of factory methods now throws informative errors. No more confusion when things just aren't working -- now the terminal will tell you why!
v0.0.2
19 Nov 15:05
Compare
Sorry, something went wrong.
No results found
Breaking changes
TestCaseFactory
The click method has been removed. The trigger method should be used instead:
// Old way
testCase . click ( ) ;
// New way
testCase . trigger ( 'click' ) ;
All supported React events can be triggered this way.
v0.0.1
22 Oct 16:41
Compare
Sorry, something went wrong.
No results found
import {
ContainerTestCase ,
MockedRouteActions ,
MockedStore ,
TestCase ,
TestCaseFactory ,
} from 'react-test-kit' ;