fix(workflow): map sizeByte BigInt to Number in getAssetActivity for Temporal serialization

This commit is contained in:
yiling
2026-07-29 22:31:25 +08:00
parent cd8a9e58fd
commit 668871b730
3 changed files with 19 additions and 2 deletions
+6 -1
View File
@@ -102,6 +102,11 @@ describe('S3 API', () => {
expect(res.status).toBe(200)
expect(await res.text()).toBe('OK')
expect(mockPut).toHaveBeenCalledWith('b1', 'test.webp', expect.any(ReadableStream), body.byteLength)
expect(mockPut).toHaveBeenCalledWith(
'b1',
'test.webp',
expect.any(ReadableStream),
body.byteLength,
)
})
})