We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e9961 commit 306576bCopy full SHA for 306576b
server/routes/__tests__/send-photos.spec.js
@@ -35,9 +35,7 @@ describe(url, () => {
35
}
36
]
37
38
- const response = await submitPostRequest({ url }, constants.statusCodes.REDIRECT, {
39
- thumbnails
40
- })
+ await submitPostRequest({ url }, constants.statusCodes.REDIRECT, { thumbnails })
41
42
expect(imageChecker.validate).toHaveBeenCalledWith(thumbnails)
43
})
@@ -56,7 +54,7 @@ describe(url, () => {
56
54
57
55
58
it('should call image checker with empty list when no thumbnails exist in session', async () => {
59
- const response = await submitPostRequest({ url }, constants.statusCodes.REDIRECT)
+ await submitPostRequest({ url }, constants.statusCodes.REDIRECT)
60
61
expect(imageChecker.validate).toHaveBeenCalledWith([])
62
0 commit comments