diff options
Diffstat (limited to 'webAO/services/__tests__')
| -rw-r--r-- | webAO/services/__tests__/downloadFile.test.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/webAO/services/__tests__/downloadFile.test.ts b/webAO/services/__tests__/downloadFile.test.ts index b217b2c..b541095 100644 --- a/webAO/services/__tests__/downloadFile.test.ts +++ b/webAO/services/__tests__/downloadFile.test.ts @@ -1,9 +1,9 @@ import downloadFile from '../downloadFile' jest - .useFakeTimers() - .setSystemTime(new Date('2020-01-01').getTime()); + .useFakeTimers() + .setSystemTime(new Date('2020-01-01').getTime()); - global.URL.createObjectURL = jest.fn(); +global.URL.createObjectURL = jest.fn(); (window as any).global.Blob = function (content, options){return ({content, options})} describe('downloadFile', () => { |
