test: update snapshots and tests

This commit is contained in:
woothu
2019-10-19 15:29:25 +02:00
parent 452af28957
commit d2e7838db6
38 changed files with 2087 additions and 1959 deletions
-5
View File
@@ -16,11 +16,6 @@ describe('Users.vue', () => {
it('has a created hook', () => {
expect(typeof Users.data).toMatch('function')
})
it('sets the correct default data', () => {
expect(typeof Users.data).toMatch('function')
const defaultData = Users.data()
expect(defaultData.currentPage).toBe(1)
})
it('is Vue instance', () => {
const wrapper = shallowMount(Users,{
localVue,