mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Mock $t in TeaserImage test
This commit is contained in:
parent
99816f1c21
commit
a78a58ad8d
@ -15,6 +15,7 @@ describe('TeaserImage.vue', () => {
|
|||||||
$toast: {
|
$toast: {
|
||||||
error: jest.fn(),
|
error: jest.fn(),
|
||||||
},
|
},
|
||||||
|
$t: jest.fn(string => string),
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
describe('mount', () => {
|
describe('mount', () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user