File tree 5 files changed +18
-20
lines changed
5 files changed +18
-20
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,6 @@ describe("SidebarNavDivider.vue", () => {
10
10
it ( 'renders correctly' , ( ) => {
11
11
const wrapper = mount ( SidebarNavDivider )
12
12
expect ( wrapper . element ) . toMatchSnapshot ( )
13
- expect ( wrapper . classes ( ) ) . toContain ( 'divider' )
13
+ expect ( wrapper . classes ( ) ) . toContain ( 'nav- divider' )
14
14
} )
15
15
} ) ;
Original file line number Diff line number Diff line change @@ -41,6 +41,6 @@ describe("SidebarNavLink.vue", () => {
41
41
it ( 'renders correctly' , ( ) => {
42
42
const wrapper = shallowMount ( SidebarNavLink , { localVue, router } )
43
43
expect ( wrapper . element ) . toMatchSnapshot ( )
44
- expect ( wrapper . is ( 'div ' ) ) . toBe ( true )
44
+ expect ( wrapper . is ( 'router-link-stub ' ) ) . toBe ( true )
45
45
} )
46
46
} ) ;
Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` HeaderDropdown.vue renders correctly 1` ] = `
4
- <b-nav-item-dropdown-stub >
4
+ <b-nav-item-dropdown >
5
5
<template >
6
6
7
7
❔
@@ -17,5 +17,5 @@ exports[`HeaderDropdown.vue renders correctly 1`] = `
17
17
dropdown
18
18
</span >
19
19
</div >
20
- </b-nav-item-dropdown-stub >
20
+ </b-nav-item-dropdown >
21
21
` ;
Original file line number Diff line number Diff line change 2
2
3
3
exports [` SidebarNavDivider.vue renders correctly 1` ] = `
4
4
<li
5
- class = " divider"
5
+ class = " nav- divider"
6
6
/>
7
7
` ;
Original file line number Diff line number Diff line change 1
1
// Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
3
3
exports [` SidebarNavLink.vue renders correctly 1` ] = `
4
- <div >
5
- <router-link-stub
6
- class = " nav-link"
7
- event = " click"
8
- tag = " a"
9
- to = " "
10
- >
11
- <i
12
- class = " nav-icon"
13
- />
14
-
15
-
16
- <!---->
17
- </router-link-stub >
18
- </div >
4
+ <router-link-stub
5
+ class = " nav-link"
6
+ event = " click"
7
+ tag = " a"
8
+ to = " "
9
+ >
10
+ <i
11
+ class = " nav-icon"
12
+ />
13
+
14
+
15
+ <!---->
16
+ </router-link-stub >
19
17
` ;
You can’t perform that action at this time.
0 commit comments