Skip to content

Commit

Permalink
Add First Test (CustomInput)
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisMazel committed Jan 6, 2019
1 parent 5a6842f commit 960399e
Show file tree
Hide file tree
Showing 6 changed files with 3,160 additions and 161 deletions.
23 changes: 23 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
module.exports = {
moduleFileExtensions: [
'js',
'jsx',
'json',
'vue'
],
transform: {
'^.+\\.vue$': 'vue-jest',
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
'^.+\\.jsx?$': 'babel-jest'
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/src/$1'
},
snapshotSerializers: [
'jest-serializer-vue'
],
testMatch: [
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
],
testURL: 'http://localhost/'
}
Loading

0 comments on commit 960399e

Please sign in to comment.