File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -17,13 +17,14 @@ describe("SidebarNavLabel.vue", () => {
1717 expect ( wrapper . props ( ) . url ) . toBe ( '' )
1818 expect ( wrapper . props ( ) . icon ) . toBe ( 'fa fa-circle' )
1919 } ) ;
20- it ( 'has hasSlotDefault computed property ' , ( ) => {
20+ it ( 'has computed properties ' , ( ) => {
2121 expect ( typeof SidebarNavLabel . computed . classList ) . toBe ( 'function' )
2222 expect ( typeof SidebarNavLabel . computed . itemClasses ) . toBe ( 'function' )
2323 } )
2424 it ( 'renders correctly' , ( ) => {
2525 const wrapper = mount ( SidebarNavLabel , {
2626 propsData : {
27+ name : 'test' ,
2728 label : { variant : 'info' } ,
2829 icon : 'fa fa-circle'
2930 }
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ exports[`SidebarNavLabel.vue renders correctly 1`] = `
1111 <i
1212 class = " fa fa-circle text-info "
1313 />
14-
14+ test
15+
1516 </a >
1617</li >
1718` ;
You can’t perform that action at this time.
0 commit comments