Skip to content

Commit 7bed130

Browse files
committed
Adding ability to run unit tests
1 parent e3f69aa commit 7bed130

File tree

3 files changed

+316
-1
lines changed

3 files changed

+316
-1
lines changed

jest.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ module.exports = {
77
moduleFileExtensions: ['js', 'vue', 'json'],
88
transform: {
99
'^.+\\.js$': 'babel-jest',
10-
'.*\\.(vue)$': 'vue-jest'
10+
'.*\\.(vue)$': 'vue-jest',
11+
".+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$": "jest-transform-stub"
1112
},
1213
collectCoverage: true,
1314
collectCoverageFrom: [

0 commit comments

Comments
 (0)