react-modallink
Advanced tools
Comparing version 0.0.11-5 to 0.1.0
@@ -50,7 +50,7 @@ 'use strict'; | ||
// it('should add onHide-prop to the modal', function () { | ||
// var renderedModalLink = TestUtils.renderIntoDocument(modalLink); | ||
// var renderedModal = TestUtils.findRenderedComponentWithType(renderedModalLink, <MyModal />); | ||
// expect(renderedModal.props.onHide).toBeDefined(); | ||
// }); | ||
it('should add onHide-prop to the modal', function () { | ||
var renderedModalLink = TestUtils.renderIntoDocument(modalLink); | ||
var renderedModal = TestUtils.findRenderedComponentWithType(renderedModalLink, MyModal); | ||
expect(renderedModal.props.onHide).toBeDefined(); | ||
}); | ||
}); |
{ | ||
"name": "react-modallink", | ||
"version": "0.0.11-5", | ||
"version": "0.1.0", | ||
"description": "Creates a modal and a link to open the modal", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -34,7 +34,7 @@ jest.dontMock('../ModalLink'); | ||
// it('should add onHide-prop to the modal', function () { | ||
// var renderedModalLink = TestUtils.renderIntoDocument(modalLink); | ||
// var renderedModal = TestUtils.findRenderedComponentWithType(renderedModalLink, <MyModal />); | ||
// expect(renderedModal.props.onHide).toBeDefined(); | ||
// }); | ||
it('should add onHide-prop to the modal', function () { | ||
var renderedModalLink = TestUtils.renderIntoDocument(modalLink); | ||
var renderedModal = TestUtils.findRenderedComponentWithType(renderedModalLink, MyModal); | ||
expect(renderedModal.props.onHide).toBeDefined(); | ||
}); | ||
}); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
19136