test: remove paragon, react and i18n mocks and added when needed
This commit is contained in:
@@ -30,6 +30,10 @@ jest.mock('data/redux/hooks', () => ({
|
||||
useClearRequest: jest.fn(),
|
||||
useEmailConfirmationData: jest.fn(),
|
||||
}));
|
||||
jest.mock('react', () => ({
|
||||
...jest.requireActual('react'),
|
||||
useContext: jest.fn(context => context),
|
||||
}));
|
||||
|
||||
const moduleKeys = keyStore(apiHooks);
|
||||
const testString = 'TEST-string';
|
||||
|
||||
Reference in New Issue
Block a user