fix tests
This commit is contained in:
parent
b2011429c6
commit
fd2986ea85
10 changed files with 199 additions and 197 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { flushPromises, mount } from '@vue/test-utils'
|
||||
import { nextTick } from 'vue'
|
||||
import { createTestingPinia } from '@pinia/testing'
|
||||
|
||||
import PostStatusForm from 'src/components/post_status_form/post_status_form.vue'
|
||||
import { $t, mountOpts, waitForEvent } from '../../../fixtures/setup_test'
|
||||
|
|
@ -35,6 +36,8 @@ afterEach(() => {
|
|||
})
|
||||
|
||||
describe('Draft saving', () => {
|
||||
createTestingPinia()
|
||||
|
||||
autoSaveOrNot(
|
||||
it,
|
||||
'should save when the button is clicked',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue