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

GitOrigin-RevId: 25fd72019cdec17058636bb8c738b24cbb6c4305
This commit is contained in:
Alf Eaton 2024-02-19 12:36:13 +00:00 committed by Copybot
parent eadbe8cddc
commit bafc2189e3

View file

@ -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(