Fix tests

This commit is contained in:
Nick Cipollo
2022-06-07 11:19:26 -04:00
parent 3a295d0589
commit c9494285dc
4 changed files with 1999 additions and 1933 deletions

View File

@@ -18,6 +18,7 @@ const uploadMock = jest.fn()
jest.mock('fs', () => {
return {
promises: {},
readFileSync: () => fileContents,
statSync: () => {
return {size: contentLength}