Skip to content

Convert to TypeScript #33

Convert to TypeScript

Convert to TypeScript #33

Triggered via pull request September 30, 2024 13:37
Status Failure
Total duration 49s
Artifacts 1

ci.yml

on: pull_request
Matrix: vitest
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

7 errors
test/unit/mock-http.test.ts > Mocked API tests > should not retry on RATE_LIMIT_REACHED if maxRetries is 0: 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/6acad1e2f089425aa0ba6427437a02c0", + "headers": { + "transloadit-client": "node-sdk:3.0.2", + "accept": "application/json", + "content-type": "multipart/form-data; boundary=--------------------------064982581589357893052510", + "content-length": "557", + "accept-encoding": "gzip, deflate, br" + }, + "body": "----------------------------064982581589357893052510\r\nContent-Disposition: form-data; name=\"params\"\r\n\r\n{\"auth\":{\"key\":\"\",\"expires\":\"2024-10-01T13:37:52.782Z\"}}\r\n----------------------------064982581589357893052510\r\nContent-Disposition: form-data; name=\"tus_num_expected_upload_files\"\r\n\r\n0\r\n----------------------------064982581589357893052510\r\nContent-Disposition: form-data; name=\"signature\"\r\n\r\nsha384:4ab16e241ac4d6b7397d9091b3151676396cde03b6607b89580950c1a38abef05c73cf76417ca857e8979a6bf3b3d512\r\n----------------------------064982581589357893052510--\r\n" + }] ❯ test/unit/mock-http.test.ts:152:5
vitest (20)
Process completed with exit code 1.
test/unit/mock-http.test.ts > Mocked API tests > should not retry on RATE_LIMIT_REACHED if maxRetries is 0: 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
vitest (22)
Process completed with exit code 1.
vitest (18)
The job was canceled because "_20" failed.
test/unit/mock-http.test.ts > Mocked API tests > should not retry on RATE_LIMIT_REACHED if maxRetries is 0: 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
vitest (18)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
package Expired
35.8 KB