From bafc2189e3e89e5f961bcd7d67f42eab1a78a83a Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Mon, 19 Feb 2024 12:36:13 +0000 Subject: [PATCH] Add this.clock.restore() to TutorialHandlerTests (#17191) GitOrigin-RevId: 25fd72019cdec17058636bb8c738b24cbb6c4305 --- services/web/test/unit/src/Tutorial/TutorialHandlerTests.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/services/web/test/unit/src/Tutorial/TutorialHandlerTests.js b/services/web/test/unit/src/Tutorial/TutorialHandlerTests.js index 42f3f6c9a2..ad22fb413d 100644 --- a/services/web/test/unit/src/Tutorial/TutorialHandlerTests.js +++ b/services/web/test/unit/src/Tutorial/TutorialHandlerTests.js @@ -41,6 +41,10 @@ describe('TutorialHandler', function () { }) }) + afterEach(function () { + this.clock.restore() + }) + describe('getInactiveTutorials', function () { it('returns all recorded tutorials except when they were posponed long ago', function () { const hiddenTutorials = this.TutorialHandler.getInactiveTutorials(