mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
21 lines
512 B
JavaScript
21 lines
512 B
JavaScript
|
module.exports = {
|
||
|
collectCoverageFrom: [
|
||
|
'src/**/*.{js,jsx}'
|
||
|
],
|
||
|
moduleNameMapper: {
|
||
|
'^[./a-zA-Z0-9$_-]+\\.svg$': '<rootDir>/__tests__/stubs/svgStub.js'
|
||
|
},
|
||
|
setupTestFrameworkScriptFile: '<rootDir>/jest.setup.js',
|
||
|
testMatch: [
|
||
|
'<rootDir>/__tests__/tests/**/*.{js,jsx}'
|
||
|
],
|
||
|
testEnvironment: 'jsdom',
|
||
|
testURL: 'http://127.0.0.1:3001',
|
||
|
transform: {
|
||
|
'^.+\\.(js|jsx)$': 'babel-jest'
|
||
|
},
|
||
|
transformIgnorePatterns: [
|
||
|
'[/\\\\]node_modules[/\\\\].+\\.(?!(axios)/)(js|jsx)$'
|
||
|
]
|
||
|
};
|