Skip to content

Commit

Permalink
Update jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
R1c4rdCo5t4 committed Mar 25, 2024
1 parent 659858e commit 8a80233
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
7 changes: 2 additions & 5 deletions code/server/.babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript"
]
}
"presets": ["@babel/preset-env", "@babel/preset-typescript"]
}
7 changes: 3 additions & 4 deletions code/server/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ const { pathsToModuleNameMapper } = require('ts-jest');
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
transform: {
'^.+\\.ts$': 'ts-jest',
},
transform: {},
moduleNameMapper: pathsToModuleNameMapper({ '@src/*': ['./src/*'] }, { prefix: '<rootDir>/' }),
};
transformIgnorePatterns: ['/node_modules/(?!@notespace/shared).+\\.js$'],
};

0 comments on commit 8a80233

Please sign in to comment.