Revert "test: skipped multipartStart.test.ts (#555)" #693
Annotations
2 errors
|
build
Process completed with exit code 1.
|
|
API - multipartStart › should be rejected with bad options:
src/api/multipartStart.ts#L97
expect(received).rejects.toThrowError(expected)
Expected message: "File size can not be less than 10485760 bytes. Please use direct upload instead of multipart."
Received message: "File size can not be less than 10000000 bytes. Please use direct upload instead of multipart."
95 |
96 | if ('error' in response) {
> 97 | throw new UploadError(
| ^
98 | response.error.content,
99 | response.error.errorCode,
100 | request,
at src/api/multipartStart.ts:97:17
at Object.<anonymous> (test/api/multipartStart.test.ts:47:5)
at Object.toThrowError (../../node_modules/expect/build/index.js:218:22)
at Object.<anonymous> (test/api/multipartStart.test.ts:47:34)
|