File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -1201,24 +1201,3 @@ describe('Router.run', function () {
1201
1201
} ) ;
1202
1202
} ) ;
1203
1203
} ) ;
1204
-
1205
- describe . skip ( 'unmounting' , function ( ) {
1206
- afterEach ( function ( ) {
1207
- window . location . hash = '' ;
1208
- } ) ;
1209
-
1210
- it ( 'removes location change listeners' , function ( done ) {
1211
- var c = 0 ;
1212
- var div = document . createElement ( 'div' ) ;
1213
- Router . run ( < Route handler = { Foo } path = "*" /> , Router . HashLocation , function ( Handler ) {
1214
- c ++ ;
1215
- expect ( c ) . toEqual ( 1 ) ;
1216
- React . render ( < Handler /> , div , function ( ) {
1217
- React . unmountComponentAtNode ( div ) ;
1218
- Router . HashLocation . push ( '/foo' ) ;
1219
- // might be flakey? I wish I knew right now a better way to do this
1220
- setTimeout ( done , 0 ) ;
1221
- } ) ;
1222
- } ) ;
1223
- } ) ;
1224
- } ) ;
You can’t perform that action at this time.
0 commit comments