mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Add this.clock.restore() to TutorialHandlerTests (#17191)
GitOrigin-RevId: 25fd72019cdec17058636bb8c738b24cbb6c4305
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user