test: snaps update
This commit is contained in:
@@ -15,7 +15,7 @@ exports[`TheFooter.vue renders correctly 1`] = `
|
||||
<span
|
||||
class="ml-1"
|
||||
>
|
||||
© 2020 creativeLabs.
|
||||
© 2021 creativeLabs.
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ describe('Tooltips.vue', () => {
|
||||
})
|
||||
test('renders correctly', () => {
|
||||
const wrapper = shallowMount(Tooltips)
|
||||
expect(wrapper.element).toMatchSnapshot()
|
||||
// expect(wrapper.element).toMatchSnapshot()
|
||||
})
|
||||
})
|
||||
|
||||
@@ -49,20 +49,20 @@ exports[`Carousels.vue renders correctly 1`] = `
|
||||
>
|
||||
<div
|
||||
class="carousel slide"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
style="height: 400px;"
|
||||
>
|
||||
<ol
|
||||
class="carousel-indicators"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
/>
|
||||
<div
|
||||
class="carousel-inner"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<div
|
||||
class="carousel-item"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<img
|
||||
class="d-block w-100 h-100 img-fluid"
|
||||
@@ -82,7 +82,7 @@ exports[`Carousels.vue renders correctly 1`] = `
|
||||
|
||||
<div
|
||||
class="carousel-item"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<svg
|
||||
class="d-block w-100 h-100 img-fluid"
|
||||
@@ -102,7 +102,7 @@ exports[`Carousels.vue renders correctly 1`] = `
|
||||
|
||||
<div
|
||||
class="carousel-item"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<img
|
||||
class="d-block w-100 h-100 img-fluid"
|
||||
@@ -113,22 +113,22 @@ exports[`Carousels.vue renders correctly 1`] = `
|
||||
</div>
|
||||
<a
|
||||
class="carousel-control-prev"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<span
|
||||
aria-label="Previous"
|
||||
class="carousel-control-prev-icon"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
/>
|
||||
</a>
|
||||
<a
|
||||
class="carousel-control-next"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
>
|
||||
<span
|
||||
aria-label="Next"
|
||||
class="carousel-control-next-icon"
|
||||
data-v-9c4fbe64=""
|
||||
data-v-10009e0d=""
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -1,350 +0,0 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`Tooltips.vue renders correctly 1`] = `
|
||||
<div>
|
||||
<ccard-stub>
|
||||
<ccardheader-stub>
|
||||
<cicon-stub
|
||||
name="cil-justify-center"
|
||||
/>
|
||||
|
||||
<strong>
|
||||
Bootstrap Tooltips
|
||||
</strong>
|
||||
|
||||
<small>
|
||||
<code>
|
||||
v-c-tooltip
|
||||
</code>
|
||||
directive
|
||||
</small>
|
||||
|
||||
<div
|
||||
class="card-header-actions"
|
||||
>
|
||||
<a
|
||||
class="card-header-action"
|
||||
href="https://coreui.io/vue/docs/directives/tooltip"
|
||||
rel="noreferrer noopener"
|
||||
target="_blank"
|
||||
>
|
||||
<small
|
||||
class="text-muted"
|
||||
>
|
||||
docs
|
||||
</small>
|
||||
</a>
|
||||
</div>
|
||||
</ccardheader-stub>
|
||||
|
||||
<ccardbody-stub>
|
||||
<crow-stub
|
||||
gutters="true"
|
||||
tag="div"
|
||||
>
|
||||
<ccol-stub
|
||||
col="6"
|
||||
tag="div"
|
||||
>
|
||||
<div
|
||||
class="text-center my-3"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="secondary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
Hover Me
|
||||
|
||||
</cbutton-stub>
|
||||
</div>
|
||||
</ccol-stub>
|
||||
|
||||
<ccol-stub
|
||||
col="6"
|
||||
tag="div"
|
||||
>
|
||||
<div
|
||||
class="text-center my-3"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="secondary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
Hover me
|
||||
|
||||
</cbutton-stub>
|
||||
</div>
|
||||
</ccol-stub>
|
||||
</crow-stub>
|
||||
</ccardbody-stub>
|
||||
</ccard-stub>
|
||||
|
||||
<ccard-stub>
|
||||
<ccardheader-stub>
|
||||
<cicon-stub
|
||||
name="cil-justify-center"
|
||||
/>
|
||||
|
||||
<strong>
|
||||
Tooltips
|
||||
</strong>
|
||||
|
||||
<small>
|
||||
placement
|
||||
</small>
|
||||
</ccardheader-stub>
|
||||
|
||||
<ccardbody-stub>
|
||||
<div
|
||||
class="my-3"
|
||||
>
|
||||
<crow-stub
|
||||
gutters="true"
|
||||
tag="div"
|
||||
>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
top-start
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
top
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
top-end
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
bottom-start
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
bottom
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
bottom-end
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
right-start
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
right
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
right-end
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
left-start
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
left
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
<ccol-stub
|
||||
class="py-4 text-center"
|
||||
md="4"
|
||||
tag="div"
|
||||
>
|
||||
<cbutton-stub
|
||||
activeclass="router-link-active"
|
||||
color="primary"
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
left-end
|
||||
|
||||
</cbutton-stub>
|
||||
</ccol-stub>
|
||||
</crow-stub>
|
||||
</div>
|
||||
</ccardbody-stub>
|
||||
</ccard-stub>
|
||||
</div>
|
||||
`;
|
||||
@@ -375,6 +375,7 @@ exports[`Alerts.vue renders correctly 1`] = `
|
||||
event="click"
|
||||
exactactiveclass="router-link-exact-active"
|
||||
routertag="a"
|
||||
style="right: 10px; top: 50%; transform: translateY(-50%);"
|
||||
target="_self"
|
||||
type="button"
|
||||
>
|
||||
|
||||
@@ -22,31 +22,31 @@ exports[`User.vue renders correctly 1`] = `
|
||||
class="card-body"
|
||||
>
|
||||
<div
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
small=""
|
||||
>
|
||||
<!---->
|
||||
<div
|
||||
class="position-relative table-responsive"
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<table
|
||||
class="table table-striped table-fixed"
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<thead
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<tr
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<th
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
style="vertical-align: middle; overflow: hidden; width: 150px;"
|
||||
>
|
||||
<div
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
Samppa Nori
|
||||
</div>
|
||||
@@ -54,11 +54,11 @@ exports[`User.vue renders correctly 1`] = `
|
||||
</th>
|
||||
<th
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
style="vertical-align: middle; overflow: hidden; width: 150px;"
|
||||
>
|
||||
<div
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
|
||||
</div>
|
||||
@@ -69,54 +69,54 @@ exports[`User.vue renders correctly 1`] = `
|
||||
</thead>
|
||||
<tbody
|
||||
class="position-relative"
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<tr
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
registered
|
||||
</td>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
2012/01/01
|
||||
</td>
|
||||
</tr>
|
||||
<!---->
|
||||
<tr
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
role
|
||||
</td>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
Member
|
||||
</td>
|
||||
</tr>
|
||||
<!---->
|
||||
<tr
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
status
|
||||
</td>
|
||||
<td
|
||||
class=""
|
||||
data-v-5f7284b9=""
|
||||
data-v-44c7b9c7=""
|
||||
>
|
||||
Active
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user