mirror of
https://github.com/streamwall/streamwall.git
synced 2025-12-05 17:35:36 -05:00
21 lines
664 B
JavaScript
21 lines
664 B
JavaScript
module.exports = {
|
|
verbose: true,
|
|
moduleFileExtensions: ['js', 'jsx', 'json', 'node'],
|
|
moduleNameMapper: {
|
|
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
|
'<rootDir>/__mocks__/fileMock.js',
|
|
'\\.(css|less)$': 'identity-obj-proxy',
|
|
"^preact(/(.*)|$)": "preact$1"
|
|
},
|
|
transform: {
|
|
'^.+\\.jsx?$': 'babel-jest',
|
|
},
|
|
transformIgnorePatterns: [
|
|
'node_modules/(?!(jsondiffpatch)/)',
|
|
],
|
|
testPathIgnorePatterns: ['/node_modules/'],
|
|
coveragePathIgnorePatterns: ['/node_modules/'],
|
|
collectCoverage: true,
|
|
coverageReporters: ['json', 'lcov', 'text', 'clover'],
|
|
testEnvironment: 'jsdom'
|
|
}; |