test: fix unit tests, update snapshots

This commit is contained in:
woothu
2019-10-21 16:48:13 +02:00
parent d2e7838db6
commit 0ed0b7bbce
45 changed files with 1329 additions and 2052 deletions
@@ -1,44 +1,35 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`User.vue renders correctly 1`] = `
<crow-stub>
<crow-stub
gutters="true"
>
<ccol-stub
col="12"
lg="6"
tag="div"
>
<ccard-stub
subtitletag="h6"
titletag="h4"
>
<ccardheader-stub
subtitletag="h6"
titletag="h4"
>
<ccard-stub>
<ccardheader-stub>
User id:
</ccardheader-stub>
<ccardbody-stub
subtitletag="h6"
titletag="h4"
>
<ccardbody-stub>
<ctable-stub
defaultsorter="[object Object]"
fields="[object Object],[object Object]"
fixed="true"
items="[object Object]"
itemsperpage="10"
small="true"
responsive="true"
small=""
striped="true"
/>
</ccardbody-stub>
<ccardfooter-stub
subtitletag="h6"
titletag="h4"
>
<ccardfooter-stub>
<cbutton-stub
activeclass="active"
color="primary"
@@ -1,7 +1,9 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Users.vue renders correctly 1`] = `
<crow-stub>
<crow-stub
gutters="true"
>
<ccol-stub
col="12"
tag="div"
@@ -11,8 +13,6 @@ exports[`Users.vue renders correctly 1`] = `
bodywrapper="true"
headerhtml="Users"
name="slide"
subtitletag="h6"
titletag="h4"
>
<ctable-stub
clickablerows="true"
@@ -23,6 +23,7 @@ exports[`Users.vue renders correctly 1`] = `
items="[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]"
itemsperpage="5"
pagination="[object Object]"
responsive="true"
striped="true"
/>
</ccard-stub>