diff --git a/src/use-cases/task/components/NewTaskForm.test.ts b/src/use-cases/task/components/NewTaskForm.test.ts index bb0a155..08eb486 100644 --- a/src/use-cases/task/components/NewTaskForm.test.ts +++ b/src/use-cases/task/components/NewTaskForm.test.ts @@ -1,10 +1,11 @@ +import { withStore } from '@/tests/utils' import { mount } from '@vue/test-utils' import { describe, expect, it } from 'vitest' import NewTaskVue from './NewTaskForm.vue' describe('New Task Form', () => { it('displays New Task Form title', () => { - const wrapper = mount(NewTaskVue) + const wrapper = mount(NewTaskVue, withStore()) expect(wrapper.text()).toContain('New Task Form') })