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