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:
Erik Engervall
2021-08-24 13:28:50 +02:00
parent 5d369b6030
commit bdf30530d8
3 changed files with 23 additions and 2 deletions
+2 -1
View File
@@ -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,
};
+2 -1
View File
@@ -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';