refactor: ts helpers api #1585
ci.yml
on: pull_request
lint
11s
Python CI
7s
Node CI
2m 4s
Annotations
4 errors and 3 warnings
|
Node CI
Process completed with exit code 1.
|
|
packages/tests/integration-tests/index.test.ts > Test Runner > 'python' test evaluator > should expose the Explorer class in the test environment:
packages/tests/integration-tests/index.test.ts#L770
AssertionError: expected { err: { …(2) } } to deeply equal { pass: true }
- Expected
+ Received
{
- "pass": true,
+ "err": {
+ "message": "explorer.getVariables is not a function",
+ "stack": "TypeError: explorer.getVariables is not a function
+ at eval (eval at #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/python-evaluator/src/python-test-evaluator.ts?), <anonymous>:4:23)
+ at async #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/python-evaluator/src/python-test-evaluator.ts?:104:25)
+ at async PythonTestEvaluator.handleMessage (webpack://@freecodecamp/curriculum-helpers/./packages/python-evaluator/src/python-test-evaluator.ts?:190:28)",
+ },
}
❯ packages/tests/integration-tests/index.test.ts:770:22
|
|
packages/tests/integration-tests/index.test.ts > Test Runner > 'javascript' test evaluator > should expose the Explorer class in the test environment:
packages/tests/integration-tests/index.test.ts#L770
AssertionError: expected { err: { …(2) } } to deeply equal { pass: true }
- Expected
+ Received
{
- "pass": true,
+ "err": {
+ "message": "explorer.getVariables is not a function",
+ "stack": "TypeError: explorer.getVariables is not a function
+ at eval (eval at #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/javascript-evaluator/src/javascript-test-evaluator.ts?), <anonymous>:6:23)
+ at async #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/javascript-evaluator/src/javascript-test-evaluator.ts?:61:21)
+ at async JavascriptTestEvaluator.handleMessage (webpack://@freecodecamp/curriculum-helpers/./packages/javascript-evaluator/src/javascript-test-evaluator.ts?:117:28)",
+ },
}
❯ packages/tests/integration-tests/index.test.ts:770:22
|
|
packages/tests/integration-tests/index.test.ts > Test Runner > 'dom' test evaluator > should expose the Explorer class in the test environment:
packages/tests/integration-tests/index.test.ts#L770
AssertionError: expected { err: { …(2) } } to deeply equal { pass: true }
- Expected
+ Received
{
- "pass": true,
+ "err": {
+ "message": "explorer.getVariables is not a function",
+ "stack": "TypeError: explorer.getVariables is not a function
+ at eval (eval at #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/dom-evaluator/src/dom-test-evaluator.ts?), <anonymous>:4:23)
+ at async #runTest (webpack://@freecodecamp/curriculum-helpers/./packages/dom-evaluator/src/dom-test-evaluator.ts?:115:17)
+ at async DOMTestEvaluator.handleMessage (webpack://@freecodecamp/curriculum-helpers/./packages/dom-evaluator/src/dom-test-evaluator.ts?:160:28)",
+ },
}
❯ packages/tests/integration-tests/index.test.ts:770:22
|
|
Python CI
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|
|
Node CI
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020, pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
|