mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2025-01-09 09:47:28 +03:00
Updated tests config excluding config files form code coverage
This commit is contained in:
parent
eec79043cc
commit
cd11dd9848
1 changed files with 3 additions and 1 deletions
|
@ -1,9 +1,11 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
coverageDirectory: '<rootDir>/coverage',
|
coverageDirectory: '<rootDir>/coverage',
|
||||||
collectCoverageFrom: [
|
collectCoverageFrom: [
|
||||||
'src/**/*.{js,jsx,mjs}',
|
'src/**/*.js',
|
||||||
'!src/registerServiceWorker.js',
|
'!src/registerServiceWorker.js',
|
||||||
'!src/index.js',
|
'!src/index.js',
|
||||||
|
'!src/**/provideServices.js',
|
||||||
|
'!src/container/*.js',
|
||||||
],
|
],
|
||||||
setupFiles: [
|
setupFiles: [
|
||||||
'<rootDir>/config/polyfills.js',
|
'<rootDir>/config/polyfills.js',
|
||||||
|
|
Loading…
Reference in a new issue