Closed mcat56 closed 4 years ago
Resolved - in jest-setup.js:
import Vue from 'vue'
import VueGtag from 'vue-gtag'
Vue.use(VueGtag, {
config: {
id: xx-xxx-xxx
}
})
Resolved - in jest-setup.js:
import Vue from 'vue' import VueGtag from 'vue-gtag' Vue.use(VueGtag, { config: { id: xx-xxx-xxx } })
didn't get you. How to resolve this
In main.js :
In component:
When I run test suite where only my previous tests that were all passing are running (no tests directly calling vue-gtag, the following error occurs: