Skip to content

Commit

Permalink
chore: create jest.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed Mar 21, 2019
1 parent 8a503ec commit 3702d3f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module.exports = {
testRegex: 'spec.js$',
moduleFileExtensions: ['js', 'vue'],
transform: {
'^.+\\.js$': 'babel-jest',
'.*\\.(vue)$': 'vue-jest'
},
coverageDirectory: './coverage/',
testEnvironmentOptions: {
pretendToBeVisual: true
}
}

0 comments on commit 3702d3f

Please sign in to comment.