Convert to TypeScript #36
Annotations
3 errors
|
test/unit/mock-http.test.ts#L152
AssertionError: expected error to match asymmetric matcher
- Expected
+ Received
- ObjectContaining {
- "message": "Response code 413 (Payload Too Large) RATE_LIMIT_REACHED: Request limit reached",
- "transloaditErrorCode": "RATE_LIMIT_REACHED",
- }
+ [RequestError: Nock: No match for request {
+ "method": "POST",
+ "url": "http://localhost/assemblies/2babf8c0469c4f899e4cc1abf180eb6d",
+ "headers": {
+ "transloadit-client": "node-sdk:3.0.2",
+ "accept": "application/json",
+ "content-type": "multipart/form-data; boundary=--------------------------017540037249657356810054",
+ "content-length": "557",
+ "accept-encoding": "gzip, deflate, br"
+ },
+ "body": "----------------------------017540037249657356810054\r\nContent-Disposition: form-data; name=\"params\"\r\n\r\n{\"auth\":{\"key\":\"\",\"expires\":\"2024-10-04T11:08:13.160Z\"}}\r\n----------------------------017540037249657356810054\r\nContent-Disposition: form-data; name=\"tus_num_expected_upload_files\"\r\n\r\n0\r\n----------------------------017540037249657356810054\r\nContent-Disposition: form-data; name=\"signature\"\r\n\r\nsha384:5bc5d4a5b60a65383734a4d5cf5b2cbe43ed50dc9342eb92cb2e5a4ef9626c1b847acb3b01a8b334e5c4cf84dbd50ab8\r\n----------------------------017540037249657356810054--\r\n"
+ }]
❯ test/unit/mock-http.test.ts:152:5
|
|
This job failed
Loading