@@ -46,11 +46,17 @@ describe.skip('Firestore: option merging', () => {
46
46
}
47
47
48
48
function factory ( options : any ) {
49
- return mount ( options , {
50
- global : {
51
- plugins : [ firestorePlugin ] ,
49
+ return mount (
50
+ {
51
+ template : 'no' ,
52
+ ...options ,
52
53
} ,
53
- } )
54
+ {
55
+ global : {
56
+ plugins : [ firestorePlugin ] ,
57
+ } ,
58
+ }
59
+ )
54
60
}
55
61
56
62
it ( 'should merge properties' , ( ) => {
@@ -67,7 +73,7 @@ describe.skip('Firestore: option merging', () => {
67
73
68
74
it ( 'supports function syntax' , ( ) => {
69
75
const { mWithFn } = createMixins ( )
70
- const { vm } = factory ( { mixins : [ mWithObjA , mWithObjB ] } )
76
+ const { vm } = factory ( { mixins : [ mWithFn ] } )
71
77
expect ( vm . $firestoreRefs ) . toEqual ( {
72
78
a : db . collection ( 5 ) ,
73
79
c : db . collection ( 6 ) ,
@@ -76,7 +82,7 @@ describe.skip('Firestore: option merging', () => {
76
82
77
83
it ( 'should merge two functions' , ( ) => {
78
84
const { mWithFn, mWithObjA, mWithObjB } = createMixins ( )
79
- const { vm } = factory ( { mixins : [ mWithObjA , mWithObjB ] } )
85
+ const { vm } = factory ( { mixins : [ mWithObjA , mWithObjB , mWithFn ] } )
80
86
expect ( vm . $firestoreRefs ) . toEqual ( {
81
87
a : db . collection ( 5 ) ,
82
88
b : db . collection ( 2 ) ,
0 commit comments