Fix formatting

This commit is contained in:
James M. Greene
2023-12-06 14:56:54 -06:00
parent b687ea25c8
commit f8e6f4a56d
2 changed files with 5 additions and 7 deletions

View File

@@ -649,12 +649,10 @@ describe('Deployment', () => {
// Jump the "current time" by MAX_TIMEOUT ever time Date.now is called
const _now = Date.now
let nowCalls = 0
const nowSpy = jest
.spyOn(Date, 'now')
.mockImplementation(() => {
nowCalls++
return _now() + (MAX_TIMEOUT * nowCalls)
})
const nowSpy = jest.spyOn(Date, 'now').mockImplementation(() => {
nowCalls++
return _now() + MAX_TIMEOUT * nowCalls
})
// Create the deployment
const deployment = new Deployment()