diff --git a/public/test/core/redux/mocks.ts b/public/test/core/redux/mocks.ts index 38c3a75ce4a..c25f96728e1 100644 --- a/public/test/core/redux/mocks.ts +++ b/public/test/core/redux/mocks.ts @@ -1,6 +1,6 @@ import { ActionCreatorWithoutPayload, PayloadActionCreator } from '@reduxjs/toolkit'; -export const mockToolkitActionCreator = (creator: PayloadActionCreator) => { +export const mockToolkitActionCreator = (creator: PayloadActionCreator) => { return Object.assign(jest.fn(), creator); };