In my *.spec.js file, I load a wrapper from my custom component then testing it:
import { mount, createLocalVue, RouterLinkStub } from '@vue/test-utils';
import expect from 'expect';
import Vue from 'vue';
import Vuex from 'vuex';
import Vuetify from 'vuetify';
import snapshot from 'snap-shot-it';
import Societies from '~/components/Societies.vue';
import AddSocietyForm from '~/components/AddSocietyForm.vue';
Hello,
I am quite a newbie in Javascript testing and have trouble using the Snap-shot-it library.
I am trying to test my VueJS components in a Laravel environment. Here is an extract of my package.json file:
In my *.spec.js file, I load a wrapper from my custom component then testing it:
And in the end, I meet those errors
Could anyone help me with this issue?
Tyvm, Denis