core-plugin-api: fix useTranslationRef test
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -51,7 +51,7 @@ describe('useTranslationRef', () => {
|
||||
};
|
||||
|
||||
(useApi as jest.Mock).mockReturnValue({
|
||||
addResourcesByRef: jest.fn(),
|
||||
addResource: jest.fn(),
|
||||
});
|
||||
|
||||
(useTranslation as jest.Mock).mockReturnValue(i18nMock);
|
||||
|
||||
Reference in New Issue
Block a user