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

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


Just for now

@@ -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 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'
testPathIgnorePatterns: [
ProTip! Use n and p to navigate between commits in a pull request.