mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
fix tests
This commit is contained in:
parent
e67427f8f1
commit
6aeb174532
@ -4,7 +4,7 @@ import Overlay from './Overlay.vue'
|
||||
const localVue = global.localVue
|
||||
|
||||
const propsData = {
|
||||
items: {},
|
||||
item: {},
|
||||
}
|
||||
|
||||
const mocks = {
|
||||
|
||||
@ -132,8 +132,8 @@ describe('CreationConfirm', () => {
|
||||
await wrapper.find('#overlay').findAll('button').at(0).trigger('click')
|
||||
})
|
||||
|
||||
it('closes the overlay', () => {
|
||||
expect(wrapper.find('#overlay').isVisible()).toBeFalsy()
|
||||
it('closes the overlay', async () => {
|
||||
expect(wrapper.find('#overlay').exists()).toBeFalsy()
|
||||
})
|
||||
|
||||
it('still has 2 items in the table', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user