Feat/integrate context management #13
Annotations
5 errors and 1 warning
|
Run unit tests
Process completed with exit code 1.
|
|
Run unit tests:
app/src/api/dataSource/groupApiDataSource.ts#L3
ReferenceError: module is not defined in ES module scope
This file is being treated as an ES module because it has a '.js' file extension and '/home/runner/work/mero-chat/mero-chat/app/node_modules/.pnpm/@calimero-network+calimero-client@1.25.0-beta.2_@near-wallet-selector+modal-ui@8.10.2_near-ap_n3jrqnj64ezfg746c5mflroszi/node_modules/@calimero-network/calimero-client/package.json' contains "type": "module". To treat it as a CommonJS script, rename it to use the '.cjs' file extension.
❯ node_modules/.pnpm/@calimero-network+calimero-client@1.25.0-beta.2_@near-wallet-selector+modal-ui@8.10.2_near-ap_n3jrqnj64ezfg746c5mflroszi/node_modules/@calimero-network/calimero-client/lib/index.js:661:1
❯ src/api/dataSource/groupApiDataSource.ts:3:1
|
|
Run unit tests:
app/src/hooks/useDMs.test.ts#L218
AssertionError: expected undefined to deeply equal ObjectContaining{…}
- Expected:
ObjectContaining {
"otherAlias": "Taylor",
"otherIdentity": "member-you",
"otherUsername": "",
}
+ Received:
undefined
❯ src/hooks/useDMs.test.ts:218:20
|
|
Run unit tests:
app/src/hooks/useDMs.test.ts#L158
AssertionError: expected [] to have a length of 1 but got +0
- Expected
+ Received
- 1
+ 0
❯ src/hooks/useDMs.test.ts:158:17
|
|
Run unit tests:
app/src/hooks/useDMs.test.ts#L98
AssertionError: expected [] to deeply equal [ ObjectContaining{…} ]
- Expected
+ Received
- [
- ObjectContaining {
- "contextId": "ctx-1",
- "isJoined": false,
- "otherIdentity": "member-you",
- },
- ]
+ []
❯ src/hooks/useDMs.test.ts:98:17
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, pnpm/action-setup@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
Loading