File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ import { createApp } from "vue";
33import * as All from "quasar" ;
44const { Quasar, date } = All ;
55
6+ import { createTestingPinia } from "@pinia/testing" ; // *
7+ import { useStore } from "../../src/store/main" ; // *
8+ const piniaStore = useStore ( ) ; // *
9+
610const components = Object . keys ( All ) . reduce ( ( object , key ) => {
711 const val = All [ key ] ;
812 if ( val && val . component && val . component . name != null ) {
@@ -27,7 +31,8 @@ import store from "../../../src/store/state/index";
2731describe ( "Test Suite for Image Upload" , ( ) => {
2832 const App = { } ;
2933 const app = createApp ( App ) ;
30- app . use ( Quasar , Vuex , { components } ) ;
34+ app . use ( Quasar , piniaStore , { components } ) ; // *
35+ // app.use(Quasar, Vuex, { components });
3136 const payload = {
3237 icons : {
3338 div : "far fa-square fa-lg" ,
You can’t perform that action at this time.
0 commit comments