Open rafaelmagalhaes opened 2 years ago
Can you try to locate where is the $store located in this version of nuxt?
Can you try to locate where is the $store located in this version of nuxt?
manage to solved it by doing this
// vuex-shims.d.ts
import { Store } from 'vuex';
declare module '@vue/composition-api' {
interface ComponentInternalInstance {
$store: Store<any>;
}
Recently my test started failing with this error
I'm using this package version 1.1.0 with nuxtjs and nuxt-composition package
Node version: 14.17.5 NPM version: 6.14.15
Here's my jest config file