Updated tests config excluding config files form code coverage

This commit is contained in:
Alejandro Celaya 2018-12-18 20:24:18 +01:00
parent eec79043cc
commit cd11dd9848

View file

@ -1,9 +1,11 @@
module.exports = {
coverageDirectory: '<rootDir>/coverage',
collectCoverageFrom: [
'src/**/*.{js,jsx,mjs}',
'src/**/*.js',
'!src/registerServiceWorker.js',
'!src/index.js',
'!src/**/provideServices.js',
'!src/container/*.js',
],
setupFiles: [
'<rootDir>/config/polyfills.js',