File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ module.exports = {
1212 coverageDirectory : "<rootDir>/coverage" ,
1313 collectCoverageFrom : [
1414 "src/**/*.{js,vue}" ,
15+ "!src/components/index.js" ,
1516 "!src/index.umd.js" ,
1617 "!**/node_modules/**"
1718 ]
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ describe("SidebarNavLabel.vue", () => {
1919 } ) ;
2020 it ( 'has hasSlotDefault computed property' , ( ) => {
2121 expect ( typeof SidebarNavLabel . computed . classList ) . toBe ( 'function' )
22- } )
23- it ( 'has getClasses method' , ( ) => {
24- expect ( typeof SidebarNavLabel . methods . getClasses ) . toBe ( 'function' )
22+ expect ( typeof SidebarNavLabel . computed . itemClasses ) . toBe ( 'function' )
2523 } )
2624 it ( 'renders correctly' , ( ) => {
2725 const wrapper = mount ( SidebarNavLabel , {
Original file line number Diff line number Diff line change @@ -29,9 +29,15 @@ describe("SidebarNavLink.vue", () => {
2929 expect ( typeof SidebarNavLink . computed . classList ) . toBe ( 'function' )
3030 expect ( typeof SidebarNavLink . computed . classIcon ) . toBe ( 'function' )
3131 expect ( typeof SidebarNavLink . computed . linkVariant ) . toBe ( 'function' )
32+ expect ( typeof SidebarNavLink . computed . attrClasses ) . toBe ( 'function' )
3233 expect ( typeof SidebarNavLink . computed . itemClasses ) . toBe ( 'function' )
34+ expect ( typeof SidebarNavLink . computed . disabledClasses ) . toBe ( 'function' )
35+ expect ( typeof SidebarNavLink . computed . isDisabled ) . toBe ( 'function' )
3336 expect ( typeof SidebarNavLink . computed . isExternalLink ) . toBe ( 'function' )
3437 } )
38+ it ( 'has getClassArray method' , ( ) => {
39+ expect ( typeof SidebarNavLink . methods . getClassArray ) . toBe ( 'function' )
40+ } )
3541 it ( 'renders correctly' , ( ) => {
3642 const wrapper = shallowMount ( SidebarNavLink , { localVue, router } )
3743 expect ( wrapper . element ) . toMatchSnapshot ( )
Original file line number Diff line number Diff line change 11// Jest Snapshot v1, https://goo.gl/fbAQLP
22
33exports [` HeaderDropdown.vue renders correctly 1` ] = `
4- <b-nav-item-dropdown >
4+ <b-nav-item-dropdown-stub >
55 <template >
66
77 ❔
@@ -17,5 +17,5 @@ exports[`HeaderDropdown.vue renders correctly 1`] = `
1717 dropdown
1818 </span >
1919 </div >
20- </b-nav-item-dropdown >
20+ </b-nav-item-dropdown-stub >
2121` ;
You can’t perform that action at this time.
0 commit comments