helpyourneighbour/backend/jest.config.js
BibaBot 963d8c3aa5
Some checks are pending
Docker Test / test (push) Waiting to run
feat: Implement role-based access control middleware and tests
2026-03-17 10:09:15 +00:00

18 lines
No EOL
359 B
JavaScript

export default {
testEnvironment: 'node',
transform: {
'^.+\\.js$': 'babel-jest'
},
testMatch: [
'**/tests/**/*.test.js',
'**/__tests__/**/*.js'
],
moduleNameMapper: {
'^src/(.*)$': '<rootDir>/src/$1',
'^backend/(.*)$': '<rootDir>/$1'
},
transformIgnorePatterns: [
'/node_modules/',
'/backend/src/__tests__/'
]
};