Merge pull request #2356 from overleaf/em-upgrade-test-deps

Upgrade test dependencies

GitOrigin-RevId: 0bda49dea086f525211836b6008f67bafa2bbe48
This commit is contained in:
Eric Mc Sween
2019-11-18 09:37:05 -05:00
committed by sharelatex
parent bdc5360bc0
commit 4f9eb281b7
37 changed files with 1054 additions and 724 deletions
@@ -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'