Try using the bellow code.(尝试使用下面的代码。)
As it's not able to resolve the quasar dependancy properly.(由于它无法正确解决类星体依赖关系。)
import { Quasar, QIcon } from "quasar-framework/dist/quasar.mat.esm"; //this line is modified
import NetworkWatcher from "@/components/NetworkWatcher.vue";
const localVue = createLocalVue();
localVue.use(Vuex);
localVue.use(Quasar, { components: { QIcon } });
describe("NetworkWatcher.vue", () => {});
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…