fix: 修正 Jest 配置中的文件路径,移除 next-auth mock
This commit is contained in:
@@ -18,7 +18,7 @@ module.exports = {
|
||||
},
|
||||
},
|
||||
coverageReporters: ['text', 'lcov', 'html', 'json'],
|
||||
coverageDirectory: 'coverage',
|
||||
coverageDirectory: '<rootDir>/coverage',
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1',
|
||||
@@ -33,4 +33,4 @@ module.exports = {
|
||||
testTimeout: 10000,
|
||||
verbose: true,
|
||||
maxWorkers: '50%',
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user