Files
dwroller/jest.integration.config.js
2025-08-24 20:40:59 +00:00

20 lines
455 B
JavaScript

module.exports = {
testEnvironment: 'node',
transform: {
'^.+\\.(js|jsx)$': 'babel-jest',
},
globals: {
'babel-jest': {
configFile: './babel.config.js',
},
},
// Integration tests only - exclude src/tests directory
testMatch: ['**/tests/**/*.test.js'],
testPathIgnorePatterns: ['<rootDir>/src/tests/'],
testEnvironmentOptions: {
node: true
},
transformIgnorePatterns: [
'/node_modules/(?!(axios)/)',
],
};