File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,14 @@ describe("SidebarNavLabel.vue", () => {
17
17
expect ( wrapper . props ( ) . url ) . toBe ( '' )
18
18
expect ( wrapper . props ( ) . icon ) . toBe ( 'fa fa-circle' )
19
19
} ) ;
20
- it ( 'has hasSlotDefault computed property ' , ( ) => {
20
+ it ( 'has computed properties ' , ( ) => {
21
21
expect ( typeof SidebarNavLabel . computed . classList ) . toBe ( 'function' )
22
22
expect ( typeof SidebarNavLabel . computed . itemClasses ) . toBe ( 'function' )
23
23
} )
24
24
it ( 'renders correctly' , ( ) => {
25
25
const wrapper = mount ( SidebarNavLabel , {
26
26
propsData : {
27
+ name : 'test' ,
27
28
label : { variant : 'info' } ,
28
29
icon : 'fa fa-circle'
29
30
}
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ exports[`SidebarNavLabel.vue renders correctly 1`] = `
11
11
<i
12
12
class = " fa fa-circle text-info "
13
13
/>
14
-
14
+ test
15
+
15
16
</a >
16
17
</li >
17
18
` ;
You can’t perform that action at this time.
0 commit comments