diff --git a/.gitignore b/.gitignore index 90bf41e74..f94fc4f6e 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.iml *.swp build/rsync.json +coverage dist functional-tests/output jsconfig.json diff --git a/babel.config.js b/babel.config.js index d39f4685d..9c1dfada9 100644 --- a/babel.config.js +++ b/babel.config.js @@ -33,22 +33,6 @@ module.exports = api => { env: { test: { plugins: [ - [ - 'istanbul', - { - exclude: [ - '**/*-test.js', - 'build/**', - 'src/lib/polyfill.js', - 'src/lib/browser.js', - 'src/lib/viewers/box3d/model3d/Model3DAnimationClipsPullup.js', - 'src/lib/viewers/box3d/model3d/model3DSettingsPullup.js', - 'src/lib/viewers/box3d/model3d/Model3DVrControls.js', - 'src/lib/viewers/box3d/**/SceneEntities.js', - 'src/lib/viewers/box3d/**Constants.js', - ], - }, - ], [ 'babel-plugin-transform-require-ignore', { diff --git a/jest.config.js b/jest.config.js index 3c5f276da..da8980f17 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,7 @@ module.exports = { clearMocks: true, collectCoverage: false, + coveragePathIgnorePatterns: ['/build', '/node_modules', '/src/lib/polyfill.js', '/src/third-party'], globals: { __NAME__: 'name', __VERSION__: 'version',