fix tests

This commit is contained in:
Henry Jameson 2026-02-10 21:29:48 +02:00
commit fd2986ea85
10 changed files with 199 additions and 197 deletions

View file

@ -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',