Skip to content

Commit

Permalink
fix(project config): missing linting & testing config
Browse files Browse the repository at this point in the history
  • Loading branch information
phucvinh57 committed Sep 18, 2023
1 parent c2ededa commit 289ea6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ module.exports = {
transform: {
'\\.(ts)$': 'ts-jest'
},
transformIgnorePatterns: ['node_modules', 'dist'],
moduleDirectories: ['node_modules', 'src'],
moduleNameMapper: {
'@services': '<rootDir>/src/services',
'@configs': '<rootDir>/src/configs',
Expand All @@ -50,7 +52,5 @@ module.exports = {
'@routes': '<rootDir>/src/routes',
'@utils': '<rootDir>/src/utils.ts'
},
roots: ['<rootDir>'],
modulePaths: ['<rootDir>'],
moduleDirectories: ['node_modules']
roots: ['<rootDir>']
};
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"#package.json": ["./package.json"]
}
},
"include": ["src"],
"include": ["src", "**/*.js", "**/*.ts"],
"exclude": ["node_modules", "dist", "coverage"],
"linterOptions": {
"exclude": []
Expand Down

0 comments on commit 289ea6a

Please sign in to comment.