mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
mock moment in CreationConfirm Spec
This commit is contained in:
parent
9e5de56977
commit
61e7493260
@ -40,6 +40,11 @@ const mocks = {
|
||||
$toasted: {
|
||||
error: toastedErrorMock,
|
||||
},
|
||||
$moment: jest.fn((value) => {
|
||||
return {
|
||||
format: jest.fn((format) => value),
|
||||
}
|
||||
}),
|
||||
}
|
||||
|
||||
describe('CreationConfirm', () => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user