diff --git a/frontend/src/components/Contributions/ContributionForm.spec.js b/frontend/src/components/Contributions/ContributionForm.spec.js index 44fa170b1..5b05957bb 100644 --- a/frontend/src/components/Contributions/ContributionForm.spec.js +++ b/frontend/src/components/Contributions/ContributionForm.spec.js @@ -6,6 +6,15 @@ const localVue = global.localVue describe('ContributionForm', () => { let wrapper + const propsData = { + value: { + id: null, + date: '', + memo: '', + amount: '', + }, + } + const mocks = { $t: jest.fn((t) => t), $d: jest.fn((d) => d), @@ -20,6 +29,7 @@ describe('ContributionForm', () => { return mount(ContributionForm, { localVue, mocks, + propsData, }) }