emoji-picker-element/jest.config.cjs

31 lines
644 B
JavaScript
Raw Permalink Normal View History

2020-06-04 07:11:26 +02:00
module.exports = {
testEnvironment: 'jsdom',
2020-06-04 07:11:26 +02:00
testMatch: [
2020-06-08 02:01:02 +02:00
'<rootDir>/test/spec/**/*.{spec,test}.{js,jsx,ts,tsx}'
2020-06-04 07:11:26 +02:00
],
transform: {
'^.*PickerTemplate.js$': './config/minifyHtmlInJest.js'
2020-06-04 07:11:26 +02:00
},
moduleFileExtensions: ['js'],
2020-06-04 07:11:26 +02:00
testPathIgnorePatterns: ['node_modules'],
2020-06-10 04:04:23 +02:00
bail: true,
2020-06-04 07:11:26 +02:00
verbose: true,
silent: false,
2020-06-04 07:11:26 +02:00
setupFilesAfterEnv: [
'<rootDir>/config/jest.setup.js'
2020-06-05 06:50:31 +02:00
],
coverageReporters: ['json', 'lcov', 'text', 'html'],
coveragePathIgnorePatterns: [
'bin/',
'test/'
2020-12-27 00:31:39 +01:00
],
coverageThreshold: {
global: {
statements: 100,
branches: 100,
functions: 100,
lines: 100
}
}
2020-06-04 07:11:26 +02:00
}