UNPKG

quickbuild

Version:

A mature, feature-complete application generator with an emphasis on speed

42 lines (40 loc) 784 B
'use strict'; module.exports = { transform: { '^.+\\.jsx$': 'babel-jest', '^.+\\.js$': 'babel-jest', }, moduleNameMapper: { '^.+\\.(css|scss)$': 'identity-obj-proxy', }, transformIgnorePatterns: [ 'node_modules/*', ], modulePaths: [ 'frontend', 'frontend/js', 'frontend/js/app', ], snapshotSerializers: [ 'enzyme-to-json/serializer', ], setupFiles: [ './jest-setup.js', ], collectCoverageFrom: [ 'frontend/js/**/*.{js,jsx}', ], coveragePathIgnorePatterns: [ 'frontend/js/store.js', 'frontend/js/index.js', 'frontend/js/jquery-index.js', 'frontend/js/constants/*', 'frontend/js/pages/*', 'frontend/js/tests/*', ], coverageThreshold: { global: { statements: 10, }, }, };