Skip to content

remove isResumable option #99

remove isResumable option

remove isResumable option #99

Triggered via pull request December 11, 2024 06:37
Status Failure
Total duration 35s
Artifacts 1

ci.yml

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

Annotations

11 errors and 5 warnings
test/unit/test-transloadit-client.test.ts > Transloadit > _appendForm > should append all required fields to the request form: src/Transloadit.ts#L673
TypeError: source.on is not a function ❯ Function.DelayedStream.create node_modules/delayed-stream/lib/delayed_stream.js:33:10 ❯ FormData.CombinedStream.append node_modules/combined-stream/lib/combined_stream.js:45:37 ❯ FormData.append node_modules/form-data/lib/form_data.js:75:3 ❯ Transloadit._appendForm src/Transloadit.ts:673:14 ❯ test/unit/test-transloadit-client.test.ts:173:14
test/unit/test-transloadit-client.test.ts > Transloadit > should set 1 day timeout by default for createAssembly: test/unit/test-transloadit-client.test.ts#L283
AssertionError: expected "_remoteJson" to be called with arguments: [ ObjectContaining{…}, {}, …(1) ] Received: 1st _remoteJson call: Array [ - ObjectContaining { + Object { + "fields": Object { + "tus_num_expected_upload_files": 0, + }, + "method": "post", + "params": Object {}, "timeout": 86400000, + "urlSuffix": "/assemblies/2612ac54adf54da59a3471752e78087e", }, - Object {}, - Any<Function>, ] Number of calls: 1 ❯ test/unit/test-transloadit-client.test.ts:283:17
vitest (20)
Process completed with exit code 1.
vitest (18)
The job was canceled because "_20" failed.
test/unit/test-transloadit-client.test.ts > Transloadit > _appendForm > should append all required fields to the request form: src/Transloadit.ts#L673
TypeError: source.on is not a function ❯ Function.DelayedStream.create node_modules/delayed-stream/lib/delayed_stream.js:33:10 ❯ FormData.CombinedStream.append node_modules/combined-stream/lib/combined_stream.js:45:37 ❯ FormData.append node_modules/form-data/lib/form_data.js:75:3 ❯ Transloadit._appendForm src/Transloadit.ts:673:14 ❯ test/unit/test-transloadit-client.test.ts:173:14
test/unit/test-transloadit-client.test.ts > Transloadit > should set 1 day timeout by default for createAssembly: test/unit/test-transloadit-client.test.ts#L283
AssertionError: expected "_remoteJson" to be called with arguments: [ ObjectContaining{…}, {}, …(1) ] Received: 1st _remoteJson call: Array [ - ObjectContaining { + Object { + "fields": Object { + "tus_num_expected_upload_files": 0, + }, + "method": "post", + "params": Object {}, "timeout": 86400000, + "urlSuffix": "/assemblies/aa1243b8b4c04295aa71b364126438a9", }, - Object {}, - Any<Function>, ] Number of calls: 1 ❯ test/unit/test-transloadit-client.test.ts:283:17
vitest (18)
Process completed with exit code 1.
vitest (22)
The job was canceled because "_20" failed.
test/unit/test-transloadit-client.test.ts > Transloadit > _appendForm > should append all required fields to the request form: src/Transloadit.ts#L673
TypeError: source.on is not a function ❯ Function.DelayedStream.create node_modules/delayed-stream/lib/delayed_stream.js:33:10 ❯ FormData.CombinedStream.append node_modules/combined-stream/lib/combined_stream.js:45:37 ❯ FormData.append node_modules/form-data/lib/form_data.js:75:3 ❯ Transloadit._appendForm src/Transloadit.ts:673:14 ❯ test/unit/test-transloadit-client.test.ts:173:14
test/unit/test-transloadit-client.test.ts > Transloadit > should set 1 day timeout by default for createAssembly: test/unit/test-transloadit-client.test.ts#L283
AssertionError: expected "_remoteJson" to be called with arguments: [ ObjectContaining{…}, {}, …(1) ] Received: 1st _remoteJson call: Array [ - ObjectContaining { + Object { + "fields": Object { + "tus_num_expected_upload_files": 0, + }, + "method": "post", + "params": Object {}, "timeout": 86400000, + "urlSuffix": "/assemblies/415694a04b374b6b929230a68a8b54e6", }, - Object {}, - Any<Function>, ] Number of calls: 1 ❯ test/unit/test-transloadit-client.test.ts:283:17
vitest (22)
Process completed with exit code 1.
vitest (20)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
eslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
pack
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
typescript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
package Expired
301 KB