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