SubQuery is an Open, Flexible, Fast and Universal data indexing framework for web3. Our mission is to help developers create the decentralised products of the future.
Failed tests: 10/580. Failed suites: 3/104.
```
β IPFSClient Lite βΊ should upload files and yield results
Failed to upload files to IPFS
116 | return jsonLines.map((line) => JSON.parse(line)).map(mapResponse);
117 | } catch (error) {
> 118 | throw new Error(`Failed to upload files to IPFS`, {cause: error});
| ^
119 | }
120 | }
121 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:118:13)
at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:25:21)
Cause:
AxiosError: Request failed with status code 403
at settle (node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11)
β IPFSClient Lite βΊ should add a file to IPFS and return AddResult
Failed to upload files to IPFS
116 | return jsonLines.map((line) => JSON.parse(line)).map(mapResponse);
117 | } catch (error) {
> 118 | throw new Error(`Failed to upload files to IPFS`, {cause: error});
| ^
119 | }
120 | }
121 |
at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:118:13)
at IPFSHTTPClientLite.add (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:52:21)
at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:55:23)
Cause:
AxiosError: Request failed with status code 403
at settle (node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11)
β IPFSClient Lite βΊ should pin a content with given CID to a remote pinning service
Failed to pin CID QmQKeYj2UZJoTN5yXSvzJy4A3CjUuSmEWAKeZV4herh5bS to remote service
74 | return response.data;
75 | } catch (e) {
> 76 | throw new Error(`Failed to pin CID ${cid} to remote service`, {cause: e});
| ^
77 | }
78 | }
79 |
at IPFSHTTPClientLite.pinRemoteAdd (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:76:13)
at Object. (packages/common/src/project/IpfsHttpClientLite/IpfsHttpClientLite.spec.ts:64:20)
Cause:
AxiosError: Request failed with status code 403
at settle (node_modules/axios/lib/core/settle.js:17:12)
at IncomingMessage.handleStreamEnd (node_modules/axios/lib/adapters/http.js:382:11)
```
---
```
β Intergration test - Publish βΊ overwrites any exisiting CID files
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object. (packages/cli/src/commands/publish.test.ts:15:18)
β Intergration test - Publish βΊ create ipfsCID file stored in local with dictiory path
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object. (packages/cli/src/commands/publish.test.ts:15:18)
β Intergration test - Publish βΊ file name consistent with manfiest file name, if -f is used
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_33_16_979Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at Object. (packages/cli/src/commands/publish.test.ts:15:18)
```
---
```
β Cli publish βΊ should upload appropriate project to IPFS
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object. (packages/cli/src/controller/publish-controller.spec.ts:19:17)
β Cli publish βΊ convert to deployment and removed descriptive field
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object. (packages/cli/src/controller/publish-controller.spec.ts:19:17)
β Cli publish βΊ convert js object to JSON object
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object. (packages/cli/src/controller/publish-controller.spec.ts:19:17)
β Cli publish βΊ Get directory CID from multi-chain project
Command failed: npm i
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: mocked_starter@1.0.0
npm error Found: @polkadot/api@11.3.1
npm error node_modules/@polkadot/api
npm error dev @polkadot/api@"^11" from the root project
npm error
npm error Could not resolve dependency:
npm error peer @polkadot/api@"^12" from @subql/types@3.11.1
npm error node_modules/@subql/types
npm error dev @subql/types@"latest" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-eresolve-report.txt
npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2024-08-12T01_32_53_717Z-debug-0.log
77 |
78 | // Install dependencies
> 79 | childProcess.execSync(`npm i`, {cwd: projectDir});
| ^
80 | // Set test env to be develop mode, only limit to test
81 | process.env.NODE_ENV = 'develop';
82 |
at createTestProject (packages/cli/src/createProject.fixtures.ts:79:16)
at async Promise.all (index 0)
at Object. (packages/cli/src/controller/publish-controller.spec.ts:19:17)
```
Coverage report for
.
Show new covered files π£
|
Show files with reduced coverage π»
|
Test suite run failed
Failed tests: 10/580. Failed suites: 3/104.
``` β IPFSClient Lite βΊ should upload files and yield results Failed to upload files to IPFS 116 | return jsonLines.map((line) => JSON.parse(line)).map(mapResponse); 117 | } catch (error) { > 118 | throw new Error(`Failed to upload files to IPFS`, {cause: error}); | ^ 119 | } 120 | } 121 | at IPFSHTTPClientLite.addAll (packages/common/src/project/IpfsHttpClientLite/IPFSHTTPClientLite.ts:118:13) at Object.
Report generated by π§ͺjest coverage report action from 02295549a9901bac5e0e346c48a3c701ed4e4af3