@thot/components
Version:
Libreria de componentes web
21 lines (20 loc) • 490 B
JavaScript
module.exports = {
moduleNameMapper: { '\\.css$': 'identity-obj-proxy' },
setupFilesAfterEnv: ['./jest.setup.js'],
transform: {
'^.+\\.stories\\.jsx?$': '@storybook/addon-storyshots/injectFileName',
'^.+\\.jsx?$': 'babel-jest',
},
collectCoverageFrom: [
'{atoms,molecules,layout}/**/!(index).js',
'{hocs,helpers,scripts}/*.js',
],
coverageThreshold: {
global: {
statements: 60,
branches: 60,
lines: 60,
functions: 60,
},
},
}