From 05e2d119270528bf22c9a698892a737f9af213e2 Mon Sep 17 00:00:00 2001 From: Morgan Roderick Date: Tue, 23 May 2017 10:35:05 +0200 Subject: [PATCH] Remove test for issue 397 The issue didn't see a second comment from the original poster in more than three years, and no one else stepped up with the PR to implement the proposal. The commented out test should be removed --- test/issues/issues-test.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/test/issues/issues-test.js b/test/issues/issues-test.js index 4d5451f43..2c07aa57d 100644 --- a/test/issues/issues-test.js +++ b/test/issues/issues-test.js @@ -38,26 +38,6 @@ describe("issues", function () { testSinonFakeTimersWith(1000, 1001); }); - it.skip("#397", function () { - var clock = sinon.useFakeTimers(); - - var cb2 = sinon.spy(); - var cb1 = sinon.spy(function () { - setTimeout(cb2, 0); - }); - - setTimeout(cb1, 0); - - clock.tick(10); - assert(cb1.called); - assert(!cb2.called); - - clock.tick(10); - assert(cb2.called); - - clock.restore(); - }); - describe("#458", function () { if (typeof require("fs").readFileSync !== "undefined") { describe("on node", function () {