Procházet zdrojové kódy

Add this.clock.restore() to TutorialHandlerTests (#17191)

GitOrigin-RevId: 25fd72019cdec17058636bb8c738b24cbb6c4305
Alf Eaton před 2 roky
rodič
revize
bafc2189e3

+ 4 - 0
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(