CoreUI
@@ -28,7 +29,8 @@ exports[`TheFooter.vue renders correctly 1`] = `
CoreUI for Vue
diff --git a/tests/unit/containers/__snapshots__/TheHeader.spec.js.snap b/tests/unit/containers/__snapshots__/TheHeader.spec.js.snap
index 45c01569..677f002b 100644
--- a/tests/unit/containers/__snapshots__/TheHeader.spec.js.snap
+++ b/tests/unit/containers/__snapshots__/TheHeader.spec.js.snap
@@ -9,23 +9,24 @@ exports[`TheHeader.vue renders correctly 1`] = `
withsubheader="true"
>
-
-
+
`;
diff --git a/tests/unit/containers/__snapshots__/TheSidebar.spec.js.snap b/tests/unit/containers/__snapshots__/TheSidebar.spec.js.snap
index ba894348..bea9e78f 100644
--- a/tests/unit/containers/__snapshots__/TheSidebar.spec.js.snap
+++ b/tests/unit/containers/__snapshots__/TheSidebar.spec.js.snap
@@ -10,8 +10,8 @@ exports[`TheSidebar.vue renders correctly 1`] = `
show="responsive"
>
diff --git a/tests/unit/views/base/Collapses.spec.js b/tests/unit/views/base/Collapses.spec.js
index 017727df..19dbad6e 100644
--- a/tests/unit/views/base/Collapses.spec.js
+++ b/tests/unit/views/base/Collapses.spec.js
@@ -9,26 +9,10 @@ describe('Collapses.vue', () => {
it('has a name', () => {
expect(Collapses.name).toBe('Collapses')
})
- it('has a created hook', () => {
- expect(typeof Collapses.data).toMatch('function')
- })
- it('sets the correct default data', () => {
- expect(typeof Collapses.data).toMatch('function')
- const defaultData = Collapses.data()
- expect(defaultData.showCollapse).toBe(true)
- })
it('is Vue instance', () => {
const wrapper = shallowMount(Collapses)
expect(wrapper.isVueInstance()).toBe(true)
})
- // it('is Collapses', () => {
- // const wrapper = shallowMount(Collapses)
- // expect(wrapper.is(Collapses)).toBe(true)
- // })
- // it('should render correct content', () => {
- // const wrapper = mount(Collapses)
- // expect(wrapper.find('header.card-header > div > strong').text()).toMatch('Bootstrap Collapse')
- // })
test('renders correctly', () => {
const wrapper = mount(Collapses)
expect(wrapper.element).toMatchSnapshot()
diff --git a/tests/unit/views/base/__snapshots__/Breadcrumbs.spec.js.snap b/tests/unit/views/base/__snapshots__/Breadcrumbs.spec.js.snap
index f8484e10..c25d6601 100644
--- a/tests/unit/views/base/__snapshots__/Breadcrumbs.spec.js.snap
+++ b/tests/unit/views/base/__snapshots__/Breadcrumbs.spec.js.snap
@@ -54,7 +54,7 @@ exports[`Breadcrumbs.vue renders correctly 1`] = `
href="#"
target="_self"
>
- <b>Admin</b>
+ Admin