react-bootstrap-toggle
Advanced tools
Comparing version 2.2.4 to 2.2.5
import React from 'react'; | ||
import { mount } from 'enzyme'; | ||
import sinon from 'sinon'; | ||
import Enzyme from 'enzyme'; | ||
import Adapter from 'enzyme-adapter-react-16'; | ||
import Toggle from '../src/react-bootstrap-toggle'; | ||
@@ -8,2 +10,3 @@ import { Bootstrap2Toggle } from '../src/index'; | ||
Enzyme.configure({ adapter: new Adapter() }); | ||
describe('<Toggle />', () => { | ||
@@ -10,0 +13,0 @@ it('should know margin of error is one', () => { |
{ | ||
"name": "react-bootstrap-toggle", | ||
"version": "2.2.4", | ||
"version": "2.2.5", | ||
"description": "A React version of the bootstrap-toggle without the JQuery dependency", | ||
@@ -36,3 +36,4 @@ "main": "./dist/index.js", | ||
"css-loader": "^0.28.7", | ||
"enzyme": "^2.6.0", | ||
"enzyme": "^3.2.0", | ||
"enzyme-adapter-react-16": "^1.1.1", | ||
"eslint": "^3.15.0", | ||
@@ -45,2 +46,4 @@ "eslint-config-airbnb": "^13.0.0", | ||
"jest": "^17.0.3", | ||
"react": "^16.2.0", | ||
"react-dom": "^16.2.0", | ||
"react-hot-loader": "^3.0.0-beta.6", | ||
@@ -47,0 +50,0 @@ "react-test-renderer": "^16.0.0", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41262
965
28