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/bddc0332ed58417b8d2b1a7c27cbf3e7",
+ "headers": {
+ "transloadit-client": "node-sdk:3.0.2",
+ "accept": "application/json",
+ "content-type": "multipart/form-data; boundary=--------------------------221175560828711650365721",
+ "content-length": "557",
+ "accept-encoding": "gzip, deflate, br"
+ },
+ "body": "----------------------------221175560828711650365721\r\nContent-Disposition: form-data; name=\"params\"\r\n\r\n{\"auth\":{\"key\":\"\",\"expires\":\"2024-10-04T11:08:14.791Z\"}}\r\n----------------------------221175560828711650365721\r\nContent-Disposition: form-data; name=\"tus_num_expected_upload_files\"\r\n\r\n0\r\n----------------------------221175560828711650365721\r\nContent-Disposition: form-data; name=\"signature\"\r\n\r\nsha384:7d029e2cc25fcf5070ebd3be37cc45d96b36e3b99c34075ed90479dfa3cd79744f8c64904db5201410d25cd65c6752f6\r\n----------------------------221175560828711650365721--\r\n"
+ }]
❯ test/unit/mock-http.test.ts:152:5
|
|
This job failed
Loading