New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: handle asset types in Jest #1321

Open
wants to merge 1 commit into
base: develop
from
Jump to file or symbol
Failed to load files and symbols.
+3 −1
Diff settings

Always

Just for now

View
@@ -54,6 +54,7 @@
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"jest": "^22.0.4",
"jest-serializer-vue": "^0.3.0",
"jest-transform-stub": "^1.0.0",
"vue-jest": "^1.0.2",
{{/if_eq}}
{{#if_eq runner "karma"}}
@@ -12,7 +12,8 @@ module.exports = {
},
transform: {
'^.+\\.js$': '<rootDir>/node_modules/babel-jest',
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest'
'.*\\.(vue)$': '<rootDir>/node_modules/vue-jest',
'.+\\.(css|styl|less|sass|scss|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub'
},{{#e2e}}
testPathIgnorePatterns: [
'<rootDir>/test/e2e'
ProTip! Use n and p to navigate between commits in a pull request.