mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add mock for .
This commit is contained in:
parent
0ae9b9e908
commit
e359fa59b3
@ -6,12 +6,15 @@ const localVue = global.localVue
|
|||||||
const propsData = {
|
const propsData = {
|
||||||
link: '',
|
link: '',
|
||||||
}
|
}
|
||||||
|
const mocks = {
|
||||||
|
$t: jest.fn((t) => t),
|
||||||
|
}
|
||||||
|
|
||||||
describe('FigureQrCode', () => {
|
describe('FigureQrCode', () => {
|
||||||
let wrapper
|
let wrapper
|
||||||
|
|
||||||
const Wrapper = () => {
|
const Wrapper = () => {
|
||||||
return mount(FigureQrCode, { localVue, propsData })
|
return mount(FigureQrCode, { localVue, mocks, propsData })
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('mount', () => {
|
describe('mount', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user