Skip to content

Commit 57f6e05

Browse files
committed
add hook to loginform test
1 parent ccf250e commit 57f6e05

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: client/modules/User/components/LoginForm.unit.test.jsx

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ jest.mock('../actions', () => ({
2323
)
2424
}));
2525

26+
jest.mock('../../../common/useSyncFormTranslations', () => ({
27+
useSyncFormTranslations: jest.fn()
28+
}));
29+
2630
const subject = () => {
2731
reduxRender(<LoginForm />, {
2832
store

0 commit comments

Comments
 (0)