File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4242 "author" : " Stephen J. Collings <stevoland@gmail.com>" ,
4343 "license" : " MIT" ,
4444 "peerDependencies" : {
45- "react" : " >=0.14.0-beta3 " ,
46- "react-dom" : " >=0.14.0-beta3 "
45+ "react" : " >=0.14.0-rc1 " ,
46+ "react-dom" : " >=0.14.0-rc1 "
4747 },
4848 "devDependencies" : {
4949 "babel" : " ^5.8.19" ,
9696 "output-file-sync" : " ^1.1.1" ,
9797 "phantomjs" : " ^1.9.17" ,
9898 "portfinder" : " ^0.4.0" ,
99- "react" : " ^0.14.0-beta3 " ,
99+ "react" : " ^0.14.0-rc1 " ,
100100 "react-component-metadata" : " ^1.3.0" ,
101- "react-dom" : " ^0.14.0-beta3 " ,
101+ "react-dom" : " ^0.14.0-rc1 " ,
102102 "react-hot-loader" : " ^1.2.8" ,
103103 "react-router" : " ^1.0.0-beta3" ,
104104 "rimraf" : " ^2.4.2" ,
117117 "dom-helpers" : " ^2.2.4" ,
118118 "keycode" : " ^2.0.0" ,
119119 "lodash" : " ^3.10.0" ,
120- "react-overlays" : " ^0.50.0-alpha3 " ,
120+ "react-overlays" : " ^0.50.0-alpha4 " ,
121121 "uncontrollable" : " ^3.1.1" ,
122122 "warning" : " ^2.0.0"
123123 }
Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ describe('Modal', function () {
196196 it ( 'Should use dialogComponent' , function ( ) {
197197 let noOp = function ( ) { } ;
198198
199- class CustomDialog {
199+ class CustomDialog extends React . Component {
200200 render ( ) { return < div { ...this . props } /> ; }
201201 }
202202
Original file line number Diff line number Diff line change 11import React from 'react' ;
22import ReactTestUtils from 'react/lib/ReactTestUtils' ;
3- import ReactDOM from 'react-dom' ;
43
54import Panel from '../src/Panel' ;
65import PanelGroup from '../src/PanelGroup' ;
@@ -98,11 +97,5 @@ describe('PanelGroup', function () {
9897 assert . equal ( panelBodies [ 0 ] . getAttribute ( 'aria-hidden' ) , 'false' ) ;
9998 assert . equal ( panelBodies [ 1 ] . getAttribute ( 'aria-hidden' ) , 'true' ) ;
10099 } ) ;
101-
102- afterEach ( function ( ) {
103- if ( instance && ReactTestUtils . isCompositeComponent ( instance ) && instance . isMounted ( ) ) {
104- ReactDOM . unmountComponentAtNode ( ReactDOM . findDOMNode ( instance ) ) ;
105- }
106- } ) ;
107100 } ) ;
108101} ) ;
You can’t perform that action at this time.
0 commit comments