Convert to TypeScript #33
Annotations
2 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/99022a73c46c4cb692fca525f490ab93",
+ "headers": {
+ "transloadit-client": "node-sdk:3.0.2",
+ "accept": "application/json",
+ "content-type": "multipart/form-data; boundary=--------------------------021401763635616964185549",
+ "content-length": "557",
+ "accept-encoding": "gzip, deflate, br"
+ },
+ "body": "----------------------------021401763635616964185549\r\nContent-Disposition: form-data; name=\"params\"\r\n\r\n{\"auth\":{\"key\":\"\",\"expires\":\"2024-10-01T13:37:52.931Z\"}}\r\n----------------------------021401763635616964185549\r\nContent-Disposition: form-data; name=\"tus_num_expected_upload_files\"\r\n\r\n0\r\n----------------------------021401763635616964185549\r\nContent-Disposition: form-data; name=\"signature\"\r\n\r\nsha384:37f3842a83fedb968765462ebe4d2c1793472e8441f8a1ce54a5bedd84fcdb80327581e4903a9f048a8bb9bae0bccadf\r\n----------------------------021401763635616964185549--\r\n"
+ }]
❯ test/unit/mock-http.test.ts:152:5
|
|
This job failed
Loading