deemixer/webui/jest.config.js
2023-12-21 16:50:58 -05:00

14 lines
276 B
JavaScript

module.exports = {
clearMocks: true,
roots: ['<rootDir>/src', '<rootDir>/tests'],
testEnvironment: 'node',
// preset: 'ts-jest',
setupFiles: ['dotenv/config'],
transform: {
'^.+\\.[t|j]sx?$': 'babel-jest'
},
moduleNameMapper: {
'@/(.*)': ['<rootDir>/src/$1']
}
}