This commit is contained in:
Hypnosphi 2018-07-05 21:22:42 +03:00
parent 74475b9d66
commit c4e468a558
2 changed files with 3 additions and 2 deletions

View File

@ -25,7 +25,7 @@ module.exports = {
'^.+\\.(ts|html)$': '<rootDir>/node_modules/jest-preset-angular/preprocessor.js',
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor',
},
testPathIgnorePatterns: ['/node_modules/', 'addon-jest.test.js', '/cli/test/'],
testPathIgnorePatterns: ['/node_modules/', '/dist/', 'addon-jest.test.js', '/cli/test/'],
collectCoverage: false,
collectCoverageFrom: [
'app/**/*.{js,jsx}',

View File

@ -7,8 +7,9 @@ function getCommand(watch) {
const babel = path.join(__dirname, '..', 'node_modules', '.bin', 'babel');
const args = [
'--ignore **/__mocks__/,**/tests/*,**/__tests__/,**.test.js,**/stories/,**.story.js,**.stories.js,**/__snapshots__',
'--ignore **/__mocks__/,**/tests/*,**/__tests__/,**/**.test.js,**/stories/,**/**.story.js,**/**.stories.js,**/__snapshots__',
'./src --out-dir ./dist',
'--copy-files',
`--config-file ${path.resolve(__dirname, '../.babelrc')}`,
];