优化
This commit is contained in:
14
server/jest.config.js
Normal file
14
server/jest.config.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
setupFiles: [
|
||||
'<rootDir>/test/setup.ts'
|
||||
],
|
||||
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.json',
|
||||
},
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user