Skip to content

Commit 3357a02

Browse files
committed
fix: Tests fixed (all test are passing).
1 parent e17a7a9 commit 3357a02

39 files changed

+424
-116
lines changed

babel.config.js

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,5 @@ module.exports = {
99
'es6.object.assign'
1010
]
1111
}]
12-
],
13-
"plugins": [
14-
["module-resolver", {
15-
"extensions": [".js", ".vue", ".json"]
16-
}]
17-
],
18-
"env": {
19-
"test": {
20-
"plugins": ["dynamic-import-node"]
21-
}
22-
}
12+
]
2313
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebar .vue renders correctly 1`] = `
4+
<div
5+
class="sidebar"
6+
>
7+
Sidebar
8+
</div>
9+
`;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarFooter .vue renders correctly 1`] = `
4+
<div
5+
class="sidebar-footer"
6+
>
7+
test
8+
</div>
9+
`;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarForm .vue renders correctly 1`] = `
4+
<div
5+
class="sidebar-form"
6+
>
7+
test
8+
</div>
9+
`;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarHeader .vue renders correctly 1`] = `
4+
<div
5+
class="sidebar-header"
6+
>
7+
test
8+
</div>
9+
`;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarMinimizer .vue renders correctly 1`] = `
4+
<button
5+
class="sidebar-minimizer"
6+
type="button"
7+
/>
8+
`;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarNavDivider .vue renders correctly 1`] = `
4+
<li
5+
class="divider"
6+
/>
7+
`;
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarNavDropdown .vue renders correctly 1`] = `
4+
<router-link-stub
5+
class="nav-item nav-dropdown"
6+
disabled=""
7+
event="click"
8+
tag="li"
9+
to=""
10+
>
11+
<div
12+
class="nav-link nav-dropdown-toggle"
13+
>
14+
<i
15+
class="nav-icon"
16+
/>
17+
18+
</div>
19+
20+
<ul
21+
class="nav-dropdown-items"
22+
/>
23+
</router-link-stub>
24+
`;
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarNavItem .vue renders correctly 1`] = `
4+
<li
5+
class="nav-item"
6+
>
7+
test
8+
</li>
9+
`;
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
3+
exports[`CSidebarNavLabel .vue renders correctly 1`] = `
4+
<li
5+
class="nav-item hidden-cn"
6+
>
7+
<a
8+
class="nav-label"
9+
href="#"
10+
>
11+
<i
12+
class="fa fa-circle text-info "
13+
/>
14+
15+
</a>
16+
</li>
17+
`;

0 commit comments

Comments
 (0)