prepared for ContributionForm.spec.js

This commit is contained in:
ogerly 2022-07-20 09:05:04 +02:00
parent a4d6ad57eb
commit 038a3c1a7c

View File

@ -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,
})
}