[ ] 👎 Sweep Needs Improvement
I created this PR to fix the failing GitHub Actions.## Description
This PR fixes the failing GitHub Actions run on commit 83ff7b5 (main) in the jupyterlab-judge repository. The error was caused by the missing ts-jest/legacy module during the test run. The PR addresses this issue by adding the necessary configuration and dependencies for Jest tests.
Summary of Changes
Created a new jest.config.js file in the root directory to configure Jest.
Modified the jest.config.js file to set the preset to ts-jest and the test environment to node.
Modified the package.json file to add the ts-jest and @types/jest dependencies.
Modified the src/__tests__/jupyterlab_judge.spec.ts file to import the ts-jest module.
Please review and merge this PR to fix the failing GitHub Actions run.
PR Feedback (click)
ts-jest/legacy
module during the test run. The PR addresses this issue by adding the necessary configuration and dependencies for Jest tests.Summary of Changes
jest.config.js
file in the root directory to configure Jest.jest.config.js
file to set the preset tots-jest
and the test environment tonode
.package.json
file to add thets-jest
and@types/jest
dependencies.src/__tests__/jupyterlab_judge.spec.ts
file to import thets-jest
module.Please review and merge this PR to fix the failing GitHub Actions run.