Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fschade authored and LukasHirt committed Feb 3, 2021
1 parent 6091b02 commit e2bae40
Showing 1 changed file with 14 additions and 17 deletions.
31 changes: 14 additions & 17 deletions tests/unit/config/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@ const path = require('path')
const rootDir = path.resolve(__dirname, '../../../')

module.exports = {
rootDir,
modulePaths: ['<rootDir>'],
moduleFileExtensions: ['js', 'json', 'vue'],
transform: {
'^.+\\.js$': ['babel-jest', { configFile: path.join(rootDir, '.babelrc') }],
'.*\\.(vue)$': 'vue-jest',
'^.+\\.svg$': 'jest-svg-transformer'
},
setupFiles: ['<rootDir>/tests/unit/config/jest.init.js'],
snapshotSerializers: ['jest-serializer-vue'],
coverageDirectory: '<rootDir>/coverage',
coverageReporters: ['lcov'],
collectCoverageFrom: [
'<rootDir>/packages/**/src/**/*.{js,vue}',
'!<rootDir>/**/node_modules/**'
]
}
rootDir,
modulePaths: ['<rootDir>'],
moduleFileExtensions: ['js', 'json', 'vue'],
transform: {
'^.+\\.js$': ['babel-jest', { configFile: path.join(rootDir, '.babelrc') }],
'.*\\.(vue)$': 'vue-jest',
'^.+\\.svg$': 'jest-svg-transformer'
},
setupFiles: ['<rootDir>/tests/unit/config/jest.init.js'],
snapshotSerializers: ['jest-serializer-vue'],
coverageDirectory: '<rootDir>/coverage',
coverageReporters: ['lcov'],
collectCoverageFrom: ['<rootDir>/packages/**/src/**/*.{js,vue}', '!<rootDir>/**/node_modules/**']
}

0 comments on commit e2bae40

Please sign in to comment.