Socket
Socket
Sign inDemoInstall

react-modallink

Package Overview
Dependencies
43
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11-5 to 0.1.0

10

dist/__tests__/ModalLinkTest.js

@@ -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();
});
});
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc