mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Merge pull request #13110 from overleaf/jk-investigate-fake-timers-problem
[web] Fix failing unit test involving `fake-timers` GitOrigin-RevId: d166cc10079b9c4fa6d07525a9e6140e86b05fc9
This commit is contained in:
@@ -22,6 +22,10 @@ describe('ProjectUpdateHandler', function () {
|
||||
this.clock = sinon.useFakeTimers(this.fakeTime.getTime())
|
||||
})
|
||||
|
||||
afterEach(function () {
|
||||
this.clock.restore()
|
||||
})
|
||||
|
||||
beforeEach(function () {
|
||||
let Project
|
||||
this.ProjectModel = Project = class Project {}
|
||||
|
||||
Reference in New Issue
Block a user