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";
3
3
import * as All from "quasar" ;
4
4
const { Quasar, date } = All ;
5
5
6
+ import { createTestingPinia } from "@pinia/testing" ; // *
7
+ import { useStore } from "../../src/store/main" ; // *
8
+ const piniaStore = useStore ( ) ; // *
9
+
6
10
const components = Object . keys ( All ) . reduce ( ( object , key ) => {
7
11
const val = All [ key ] ;
8
12
if ( val && val . component && val . component . name != null ) {
@@ -27,7 +31,8 @@ import store from "../../../src/store/state/index";
27
31
describe ( "Test Suite for Image Upload" , ( ) => {
28
32
const App = { } ;
29
33
const app = createApp ( App ) ;
30
- app . use ( Quasar , Vuex , { components } ) ;
34
+ app . use ( Quasar , piniaStore , { components } ) ; // *
35
+ // app.use(Quasar, Vuex, { components });
31
36
const payload = {
32
37
icons : {
33
38
div : "far fa-square fa-lg" ,
You can’t perform that action at this time.
0 commit comments