diff --git a/packages/decap-cms-core/src/actions/__tests__/media.spec.ts b/packages/decap-cms-core/src/actions/__tests__/media.spec.ts index 726bf3f038a9..41054fc5bc86 100644 --- a/packages/decap-cms-core/src/actions/__tests__/media.spec.ts +++ b/packages/decap-cms-core/src/actions/__tests__/media.spec.ts @@ -1,7 +1,7 @@ import { Map } from 'immutable'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; -import { mocked } from 'ts-jest/utils'; +import { mocked } from 'jest-mock'; import { getAsset, ADD_ASSET, LOAD_ASSET_REQUEST } from '../media'; import { selectMediaFilePath } from '../../reducers/entries'; diff --git a/packages/decap-cms-core/src/routing/__tests__/history.spec.ts b/packages/decap-cms-core/src/routing/__tests__/history.spec.ts index 7caf67563188..ba2344b7c805 100644 --- a/packages/decap-cms-core/src/routing/__tests__/history.spec.ts +++ b/packages/decap-cms-core/src/routing/__tests__/history.spec.ts @@ -1,5 +1,5 @@ import { createHashHistory } from 'history'; -import { mocked } from 'ts-jest/utils'; +import { mocked } from 'jest-mock'; import type { History } from 'history';