Skip to content

Commit

Permalink
style: sagas
Browse files Browse the repository at this point in the history
  • Loading branch information
braianj committed Mar 29, 2024
1 parent a800df7 commit 143a650
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/modules/item/sagas.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,9 @@ describe('when handling the save item request action', () => {
[matchers.call.fn(calculateModelFinalSize), Promise.resolve(MAX_WEARABLE_FILE_SIZE + 1)],
[matchers.call.fn(calculateFileSize), MAX_THUMBNAIL_FILE_SIZE]
])
.put(saveItemFailure(item, contents, 'The item is too big to be uploaded. The max file size is 2MB for Wearables and 8MB for Skins.'))
.put(
saveItemFailure(item, contents, 'The item is too big to be uploaded. The max file size is 2MB for Wearables and 8MB for Skins.')
)
.dispatch(saveItemRequest(item, contents))
.run({ silenceTimeout: true })
})
Expand All @@ -202,7 +204,9 @@ describe('when handling the save item request action', () => {
[matchers.call.fn(calculateModelFinalSize), Promise.resolve(MAX_SKIN_FILE_SIZE + 1)],
[matchers.call.fn(calculateFileSize), MAX_THUMBNAIL_FILE_SIZE]
])
.put(saveItemFailure(item, contents, 'The item is too big to be uploaded. The max file size is 2MB for Wearables and 8MB for Skins.'))
.put(
saveItemFailure(item, contents, 'The item is too big to be uploaded. The max file size is 2MB for Wearables and 8MB for Skins.')
)
.dispatch(saveItemRequest(item, contents))
.run({ silenceTimeout: true })
})
Expand Down

0 comments on commit 143a650

Please sign in to comment.