Skip to content

Commit

Permalink
chore: обновлен конфиг ts-jest
Browse files Browse the repository at this point in the history
  • Loading branch information
mxseev committed Nov 22, 2022
1 parent 9c12229 commit bc5d393
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ module.exports = {
preset: "ts-jest",
testEnvironment: "node",
resolver: "<rootDir>/jest.resolver.cjs",
globals: {
"ts-jest": {
tsconfig: "<rootDir>/tsconfig.jest.json"
}
transform: {
"^.+\\.tsx?$": ["ts-jest", {tsconfig: "<rootDir>/tsconfig.jest.json"}]
}
}
2 changes: 1 addition & 1 deletion jest.resolver.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ module.exports = function (request, options) {
}

return resolver(options.basedir, request)
}
}

0 comments on commit bc5d393

Please sign in to comment.