Export testHelpers as well to further aid development of custom features
Signed-off-by: Erik Engervall <erik.engervall@gmail.com>
This commit is contained in:
@@ -20,10 +20,11 @@ export {
|
||||
gitReleaseManagerApiRef,
|
||||
} from './plugin';
|
||||
|
||||
import { components, constants, helpers } from './plugin';
|
||||
import { components, constants, helpers, testHelpers } from './plugin';
|
||||
|
||||
export const internals = {
|
||||
components,
|
||||
constants,
|
||||
helpers,
|
||||
testHelpers,
|
||||
};
|
||||
|
||||
@@ -28,8 +28,9 @@ import { rootRouteRef } from './routes';
|
||||
import * as constants from './constants/constants';
|
||||
import * as helpers from './helpers';
|
||||
import * as components from './components';
|
||||
import * as testHelpers from './test-helpers';
|
||||
|
||||
export { gitReleaseManagerApiRef, constants, helpers, components };
|
||||
export { gitReleaseManagerApiRef, constants, helpers, components, testHelpers };
|
||||
|
||||
export const gitReleaseManagerPlugin = createPlugin({
|
||||
id: 'git-release-manager',
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Copyright 2021 The Backstage Authors
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
export * as stats from './stats';
|
||||
export * as testHelpers from './test-helpers';
|
||||
export * as testIds from './test-ids';
|
||||
Reference in New Issue
Block a user