test-utils: export MockTranslationApi through alpha
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -15,3 +15,4 @@
|
||||
*/
|
||||
|
||||
export * from './testUtils/MockPluginProvider';
|
||||
export * from './testUtils/apis/TranslationApi';
|
||||
|
||||
@@ -20,4 +20,3 @@ export * from './ErrorApi';
|
||||
export * from './FetchApi';
|
||||
export * from './PermissionApi';
|
||||
export * from './StorageApi';
|
||||
export * from './TranslationApi';
|
||||
|
||||
@@ -21,12 +21,8 @@ import {
|
||||
storageApiRef,
|
||||
} from '@backstage/core-plugin-api';
|
||||
import { translationApiRef } from '@backstage/core-plugin-api/alpha';
|
||||
import {
|
||||
MockErrorApi,
|
||||
MockFetchApi,
|
||||
MockStorageApi,
|
||||
MockTranslationApi,
|
||||
} from './apis';
|
||||
import { MockErrorApi, MockFetchApi, MockStorageApi } from './apis';
|
||||
import { MockTranslationApi } from './apis/TranslationApi';
|
||||
|
||||
export const mockApis = [
|
||||
createApiFactory(errorApiRef, new MockErrorApi()),
|
||||
|
||||
Reference in New Issue
Block a user