fix(tests): update rename and prompt tests for current API signatures #42
Annotations
3 errors and 2 warnings
|
Lint, Build, Test (Node 20)
Process completed with exit code 1.
|
|
tests/mcp/memory-server.test.ts > mcp/memory-server > task tools > task_delete removes the row and returns ok:
tests/mcp/memory-server.test.ts#L658
AssertionError: expected 1 to be +0 // Object.is equality
- Expected
+ Received
- 0
+ 1
❯ tests/mcp/memory-server.test.ts:658:26
|
|
tests/mcp/memory-server.test.ts > mcp/memory-server > task tools > task_list filters by type:
src/scheduled-task/next-run.ts#L285
Error: Unable to compute next cron run for expression: 0 0 * * 0
❯ computeNextCronRunAt src/scheduled-task/next-run.ts:285:9
❯ buildScheduledTask src/scheduled-task/builder.ts:134:17
❯ executeToolCall src/mcp/memory-server.ts:743:16
❯ handleRequest src/mcp/memory-server.ts:439:20
❯ callTool tests/mcp/memory-server.test.ts:26:5
❯ tests/mcp/memory-server.test.ts:624:15
|
|
Lint, Build, Test (Node 22)
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. 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/
|
|
Lint, Build, Test (Node 20)
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. 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/
|