You just need to make sure that vue-awesome
will be transformed by jest, so add
following to your jest config:
transformIgnorePatterns: ["/node_modules/(?!vue-awesome)"],
which means: “Ignore everything in node_modules except for vue-awesome
.
Also here is exhausive list of other issues that might cause this error: https://github.com/facebook/jest/issues/2081
Related Contents:
- How to mock window.location.href with Jest + Vuejs?
- Should I use both Cypress and Jest together?
- Vue.js – How to remove hashbang #! from url?
- Vuex Action vs Mutations
- Is there a way to dispatch actions between two namespaced vuex modules?
- Difference between @click and v-on:click Vuejs
- How to pass a value from Vue data to href?
- Vue CLI CSS pre-processor option: dart-sass VS node-sass?
- Only show slot if it has content
- Vue.js – Making helper functions globally available to single-file components
- v-model and child components?
- How to get current name of route in Vue?
- Change another module state from one module in Vuex
- Prevent on click on parent when clicking button inside div
- Difference between .$mount() and el [Vue JS]
- VueJS access child component’s data from parent
- How to change page titles when using vue-router?
- Why is Vue.js Chrome Devtools not detecting Vue.js?
- vue-language-server : Elements in iteration expect to have ‘v-bind:key’ directives
- Vue – how to pass down slots inside wrapper component?
- How to access Vuex module getters and mutations?
- what’s the real purpose of ‘ref’ attribute?
- Filter input text only accept number and dot vue.js
- Passing props to Vue.js components instantiated by Vue-router
- Error while loading config – You appear to be using a native ECMAScript module configuration file (Jest)
- How to get current route name in Nuxt 2 and 3?
- Vue.JS value tied on input having the focus
- vue-router – How to get previous page url?
- Vuex getter not updating
- potentially fixable with the `–fix` option
- How to solve “semi-colon expected” warnings (css-semicolonexpected)
- How to update snapshot with Jest and vue-cli
- How to call an action from within another action in Vuex?
- Error: Cannot find module ‘webpack-cli/bin/config-yargs’
- Display different Vuejs components for mobile browsers
- How to reference data variable from another data variable in Vue 2? [duplicate]
- Vue.js change {{ }} tags
- Dynamic class name
- jest hangs indefinitely, runs no tests
- Vue 3 Composition API – How to get the component element ($el) on which the component is mounted?
- What are inheritAttrs: false and $attrs used for in Vue?
- vue.js $watch array of objects
- Accessing nested child components in VueJS
- Is Vuex Store accessible from console or from client’s browser?
- A complex condition inside v-if
- Change default font in vuetify
- VueJs how to set prop type to any?
- Can a Vue Boolean prop be true by its presence and false by its absence?
- Vuejs component props as string
- VueJS: trigger input file from button