File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
import { createLocalVue , mount } from '@vue/test-utils' ;
2
2
import { defineComponent , ref } from 'vue' ;
3
3
4
- import { describe , expect } from 'vitest' ;
5
-
6
4
import PContextMenu from '@/controls/context-menu/PContextMenu.vue' ;
7
5
import type { MenuItem } from '@/controls/context-menu/type' ;
8
6
import type { UseContextMenuControllerOptions } from '@/hooks/use-context-menu-controller/use-context-menu-controller' ;
@@ -105,6 +103,7 @@ describe('Context Menu Controller', () => {
105
103
targetRef : ref < HTMLElement | null > ( null ) ,
106
104
contextMenuRef : ref < any | null > ( null ) ,
107
105
useReorderBySelection : true ,
106
+ menu : [ ] ,
108
107
selected : [ ] ,
109
108
} ) ) ;
110
109
expect ( error ) . toBeFalsy ( ) ;
@@ -146,6 +145,7 @@ describe('Context Menu Controller', () => {
146
145
targetRef : ref < HTMLElement | null > ( null ) ,
147
146
contextMenuRef : ref < any | null > ( null ) ,
148
147
useMenuFiltering : true ,
148
+ menu : [ ] ,
149
149
searchText : ref ( '' ) ,
150
150
} ) ) ;
151
151
expect ( error ) . toBeFalsy ( ) ;
You can’t perform that action at this time.
0 commit comments