mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-02 13:49:00 +02:00
Merge pull request #2356 from overleaf/em-upgrade-test-deps
Upgrade test dependencies GitOrigin-RevId: 0bda49dea086f525211836b6008f67bafa2bbe48
This commit is contained in:
committed by
sharelatex
parent
bdc5360bc0
commit
4f9eb281b7
@@ -19,9 +19,9 @@ const modulePath =
|
||||
const SandboxedModule = require('sandboxed-module')
|
||||
|
||||
describe('ProjectUpdateHandler', function() {
|
||||
before(function() {
|
||||
beforeEach(function() {
|
||||
this.fakeTime = new Date()
|
||||
return (this.clock = sinon.useFakeTimers(this.fakeTime.getTime()))
|
||||
this.clock = sinon.useFakeTimers(this.fakeTime.getTime())
|
||||
})
|
||||
|
||||
beforeEach(function() {
|
||||
@@ -39,10 +39,6 @@ describe('ProjectUpdateHandler', function() {
|
||||
}))
|
||||
})
|
||||
|
||||
after(function() {
|
||||
return this.clock.restore()
|
||||
})
|
||||
|
||||
describe('marking a project as recently updated', function() {
|
||||
beforeEach(function() {
|
||||
this.project_id = 'project_id'
|
||||
|
||||
Reference in New Issue
Block a user