fix tests on old node version #545
ci.yml
on: push
Matrix: prepare
Matrix: size
Matrix: suite
Matrix: types
Annotations
10 errors and 12 warnings
test/writeClient-createAssetTag.test.ts > creates a tag:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.createAssetTag src/WriteClient.ts:893:9
❯ test/writeClient-createAssetTag.test.ts:23:27
|
test/writeClient-createAssetTag.test.ts > throws if tag is invalid:
test/writeClient-createAssetTag.test.ts#L50
AssertionError: promise rejected "ReferenceError: FormData is not defined" instead of resolving
❯ test/writeClient-createAssetTag.test.ts:50:2
Caused by: Caused by: ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.createAssetTag src/WriteClient.ts:893:9
❯ test/writeClient-createAssetTag.test.ts:49:10
|
test/writeClient-createAssetTag.test.ts > respects unknown rate limit:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.createAssetTag src/WriteClient.ts:893:9
❯ test/writeClient-createAssetTag.test.ts:92:15
|
test/writeClient-getAssets.test.ts > get assets:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:14:35
|
test/writeClient-getAssets.test.ts > supports `pageSize` parameter:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:30:35
|
test/writeClient-getAssets.test.ts > supports `cursor` parameter:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:47:35
|
test/writeClient-getAssets.test.ts > supports `assetType` parameter:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:62:35
|
test/writeClient-getAssets.test.ts > supports `keyword` parameter:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:77:35
|
test/writeClient-getAssets.test.ts > supports `ids` parameter:
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssets src/WriteClient.ts:599:9
❯ test/writeClient-getAssets.test.ts:92:35
|
test/writeClient-getAssets.test.ts > supports `tags` parameter (id):
src/WriteClient.ts#L1029
ReferenceError: FormData is not defined
❯ WriteClient.buildAssetAPIQueryParams src/WriteClient.ts:1029:23
❯ WriteClient.getAssetTags src/WriteClient.ts:913:9
❯ src/WriteClient.ts:835:36
❯ src/lib/pLimit.ts:64:31
❯ run src/lib/pLimit.ts:64:54
|
Prepare (ubuntu-latest, Node 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Prepare (ubuntu-latest, Node 22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Prepare (ubuntu-latest, Node 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Prepare (ubuntu-latest, Node 16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Types (ubuntu-latest, Node 22, TS 5.4)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Types (ubuntu-latest, Node 22, TS 5.5)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Types (ubuntu-latest, Node 22, TS 5.2)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Types (ubuntu-latest, Node 22, TS 5.3)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Suite (ubuntu-latest, Node 16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Suite (ubuntu-latest, Node 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Suite (ubuntu-latest, Node 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Suite (ubuntu-latest, Node 22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3, codecov/codecov-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|