Files
text-adventure-game/jest.config.js

18 lines
427 B
JavaScript
Raw Permalink Normal View History

export default {
testEnvironment: 'node',
transform: {},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/$1',
'^@/components$': '<rootDir>/components',
'^@/config$': '<rootDir>/config',
'^@/store$': '<rootDir>/store',
'^@/utils$': '<rootDir>/utils'
},
testMatch: ['**/tests/**/*.{spec,test}.{js,mjs}'],
collectCoverageFrom: [
'store/**/*.js',
'utils/**/*.js',
'!**/node_modules/**'
]
}