deemixer/webui/jest.config.js

14 lines
276 B
JavaScript
Raw Permalink Normal View History

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']
}
}