mirror of
https://github.com/ThisIsBenny/wishlist-app.git
synced 2025-04-19 15:27:41 +00:00
fix test
Signed-off-by: Benny Samir Hierl <bennysamir@posteo.de>
This commit is contained in:
parent
94e4c80106
commit
59cde55f0f
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
},
|
Loading…
Add table
Reference in a new issue