Skip to content

Commit

Permalink
fix: module and import in jest for grading test
Browse files Browse the repository at this point in the history
  • Loading branch information
rschlaefli committed Jul 30, 2024
1 parent df05b41 commit 9e55705
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 8 additions & 0 deletions packages/grading/jest.config.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
moduleNameMapper: {
'@src/(.*)': '<rootDir>/src/$1',
'^(..?/.+).js?$': '$1',
},
}
4 changes: 0 additions & 4 deletions packages/grading/jest.config.js

This file was deleted.

2 changes: 1 addition & 1 deletion packages/grading/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"resolveJsonModule": true,
"moduleDetection": "force",
"isolatedModules": true,
"verbatimModuleSyntax": true,
"verbatimModuleSyntax": false,
/* Strictness */
"strict": true,
"noUncheckedIndexedAccess": true,
Expand Down

0 comments on commit 9e55705

Please sign in to comment.