Skip to content

Commit 3d79af4

Browse files
committed
small change
1 parent cb52302 commit 3d79af4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • contentcuration/contentcuration/frontend/settings/pages/__tests__

contentcuration/contentcuration/frontend/settings/pages/__tests__/account.spec.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ function makeWrapper(currentUser = {}) {
2121
FullNameForm: true,
2222
ChangePasswordForm: true,
2323
},
24+
mocks: {
25+
$store: {
26+
dispatch: jest.fn(),
27+
},
28+
$tr: (text) => text,
29+
},
2430
});
2531
}
2632

0 commit comments

Comments
 (0)