From 14fbde543b359705c23f1527b366b785f203cb5f Mon Sep 17 00:00:00 2001 From: Michael Jackson Date: Tue, 24 Feb 2015 13:22:25 -0800 Subject: [PATCH] Remove flaky test --- modules/__tests__/Router-test.js | 21 --------------------- 1 file changed, 21 deletions(-) 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); - }); - }); - }); -});