Skip to content

Commit 306576b

Browse files
remove assigned unused values
1 parent 84e9961 commit 306576b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

server/routes/__tests__/send-photos.spec.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ describe(url, () => {
3535
}
3636
]
3737

38-
const response = await submitPostRequest({ url }, constants.statusCodes.REDIRECT, {
39-
thumbnails
40-
})
38+
await submitPostRequest({ url }, constants.statusCodes.REDIRECT, { thumbnails })
4139

4240
expect(imageChecker.validate).toHaveBeenCalledWith(thumbnails)
4341
})
@@ -56,7 +54,7 @@ describe(url, () => {
5654
})
5755

5856
it('should call image checker with empty list when no thumbnails exist in session', async () => {
59-
const response = await submitPostRequest({ url }, constants.statusCodes.REDIRECT)
57+
await submitPostRequest({ url }, constants.statusCodes.REDIRECT)
6058

6159
expect(imageChecker.validate).toHaveBeenCalledWith([])
6260
})

0 commit comments

Comments
 (0)