diff --git a/modules/__tests__/Router-test.js b/modules/__tests__/Router-test.js index 60c80c3570..aaae2343bf 100644 --- a/modules/__tests__/Router-test.js +++ b/modules/__tests__/Router-test.js @@ -1201,24 +1201,3 @@ describe('Router.run', function () { }); }); }); - -describe.skip('unmounting', function () { - afterEach(function () { - window.location.hash = ''; - }); - - it('removes location change listeners', function (done) { - var c = 0; - var div = document.createElement('div'); - Router.run(, Router.HashLocation, function (Handler) { - c++; - expect(c).toEqual(1); - React.render(, div, function () { - React.unmountComponentAtNode(div); - Router.HashLocation.push('/foo'); - // might be flakey? I wish I knew right now a better way to do this - setTimeout(done, 0); - }); - }); - }); -});