mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-11-23 18:17:57 +00:00
test(transcode): assert body is expect.any(ReadableStream) in S3 upload tests
This commit is contained in:
@@ -102,6 +102,6 @@ describe('S3 API', () => {
|
||||
|
||||
expect(res.status).toBe(200)
|
||||
expect(await res.text()).toBe('OK')
|
||||
expect(mockPut).toHaveBeenCalledWith('b1', 'test.webp', expect.anything(), body.byteLength)
|
||||
expect(mockPut).toHaveBeenCalledWith('b1', 'test.webp', expect.any(ReadableStream), body.byteLength)
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user