diff --git a/client/test/unit/application/log-game-task.test.js b/client/test/unit/application/log-game-task.test.js index 1061e47..2af0eeb 100644 --- a/client/test/unit/application/log-game-task.test.js +++ b/client/test/unit/application/log-game-task.test.js @@ -38,6 +38,10 @@ describe('The log game task', function () { secondPlayer = state.players()[1]; }); }); + + afterEach(function () { + gameTask.stop() + }); it('when dice finishes rolling, sends a message', function (done) { gameTask.rollDiceTaskCreated().take(1).subscribe(function (task) {