Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
Benny Samir Hierl 2022-02-20 12:45:34 +01:00
parent 94e4c80106
commit 59cde55f0f

View file

@ -1,12 +1,12 @@
import { describe, assert, it, expect } from 'vitest'
import { nextTick } from 'vue'
import { shallowMount } from '@vue/test-utils'
import { mount } from '@vue/test-utils'
import ModalComponent from '../../components/Modal.vue'
import { useModal } from '../index'
describe('composable: useModal', () => {
const modal = useModal()
const wrapper = shallowMount(ModalComponent, {
const wrapper = mount(ModalComponent, {
global: {
renderStubDefaultSlot: true,
},