test: update unit tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { shallowMount, mount, createLocalVue } from '@vue/test-utils'
|
||||
import { shallowMount, createLocalVue } from '@vue/test-utils'
|
||||
import VueRouter from 'vue-router'
|
||||
import CoreuiVue from '@coreui/vue'
|
||||
import User from '@/views/users/User'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { createLocalVue, shallowMount, mount } from '@vue/test-utils'
|
||||
import { createLocalVue, shallowMount } from '@vue/test-utils'
|
||||
import CoreuiVue from '@coreui/vue'
|
||||
import Users from '@/views/users/Users'
|
||||
import VueRouter from 'vue-router';
|
||||
|
||||
@@ -29,7 +29,7 @@ exports[`User.vue renders correctly 1`] = `
|
||||
fields="[object Object],[object Object]"
|
||||
fixed="true"
|
||||
items="[object Object]"
|
||||
perpage="10"
|
||||
itemsperpage="10"
|
||||
small="true"
|
||||
striped="true"
|
||||
/>
|
||||
@@ -46,7 +46,6 @@ exports[`User.vue renders correctly 1`] = `
|
||||
routertag="a"
|
||||
target="_self"
|
||||
type="button"
|
||||
variant="primary"
|
||||
>
|
||||
Back
|
||||
</cbutton-stub>
|
||||
|
||||
@@ -20,8 +20,9 @@ exports[`Users.vue renders correctly 1`] = `
|
||||
fields="[object Object],[object Object],[object Object],[object Object],[object Object]"
|
||||
hover="true"
|
||||
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="10"
|
||||
pagination="[object Object]"
|
||||
perpage="5"
|
||||
per-page="5"
|
||||
striped="true"
|
||||
/>
|
||||
</ccard-stub>
|
||||
|
||||
Reference in New Issue
Block a user