@@ -34,8 +34,7 @@ beforeEach(async () => {
34
34
35
35
test ( 'should merge properties' , ( ) => {
36
36
const vm = new Vue ( {
37
- mixins : [ mWithObjA , mWithObjB ] ,
38
- render : h => h ( 'p' , 'foo' )
37
+ mixins : [ mWithObjA , mWithObjB ]
39
38
} )
40
39
expect ( vm . $firestoreRefs ) . toEqual ( {
41
40
a : db . collection ( 3 ) ,
@@ -46,8 +45,7 @@ test('should merge properties', () => {
46
45
47
46
test ( 'supports function syntax' , ( ) => {
48
47
const vm = new Vue ( {
49
- mixins : [ mWithFn ] ,
50
- render : h => h ( 'p' , 'foo' )
48
+ mixins : [ mWithFn ]
51
49
} )
52
50
expect ( vm . $firestoreRefs ) . toEqual ( {
53
51
a : db . collection ( 5 ) ,
@@ -57,8 +55,7 @@ test('supports function syntax', () => {
57
55
58
56
test ( 'should merge two functions' , ( ) => {
59
57
const vm = new Vue ( {
60
- mixins : [ mWithObjA , mWithObjB , mWithFn ] ,
61
- render : h => h ( 'p' , 'foo' )
58
+ mixins : [ mWithObjA , mWithObjB , mWithFn ]
62
59
} )
63
60
expect ( vm . $firestoreRefs ) . toEqual ( {
64
61
a : db . collection ( 5 ) ,
@@ -70,8 +67,7 @@ test('should merge two functions', () => {
70
67
test ( 'ignores no return' , ( ) => {
71
68
const spy = Vue . config . errorHandler = jest . fn ( )
72
69
new Vue ( {
73
- firestore : _ => { } ,
74
- render : h => h ( 'p' , 'foo' )
70
+ firestore : _ => { }
75
71
} )
76
72
expect ( spy ) . not . toHaveBeenCalled ( )
77
73
spy . mockRestore ( )
0 commit comments