From cd11dd984817e59a6e19bb917235ced4c9749648 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Tue, 18 Dec 2018 20:24:18 +0100 Subject: [PATCH] Updated tests config excluding config files form code coverage --- jest.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jest.config.js b/jest.config.js index 55b1480b..a7bdef22 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,9 +1,11 @@ module.exports = { coverageDirectory: '/coverage', collectCoverageFrom: [ - 'src/**/*.{js,jsx,mjs}', + 'src/**/*.js', '!src/registerServiceWorker.js', '!src/index.js', + '!src/**/provideServices.js', + '!src/container/*.js', ], setupFiles: [ '/config/polyfills.js',