From a4baf84b6befd76a768bff3627f271783e375f0b Mon Sep 17 00:00:00 2001 From: Moriz Wahl Date: Wed, 2 Feb 2022 16:33:53 +0100 Subject: [PATCH] mount instead of shallowMount --- admin/src/pages/Creation.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/src/pages/Creation.spec.js b/admin/src/pages/Creation.spec.js index 5ff3daac5..95e5be4cf 100644 --- a/admin/src/pages/Creation.spec.js +++ b/admin/src/pages/Creation.spec.js @@ -1,4 +1,4 @@ -import { shallowMount } from '@vue/test-utils' +import { mount } from '@vue/test-utils' import Creation from './Creation.vue' const localVue = global.localVue @@ -51,10 +51,10 @@ describe('Creation', () => { let wrapper const Wrapper = () => { - return shallowMount(Creation, { localVue, mocks }) + return mount(Creation, { localVue, mocks }) } - describe('shallowMount', () => { + describe('mount', () => { beforeEach(() => { jest.clearAllMocks() wrapper = Wrapper()