Merge pull request #17772 from backstage/blam/dont-need-this-export

[backend-test-utils]: Don't need this export
This commit is contained in:
Ben Lambert
2023-05-16 11:16:36 +02:00
committed by GitHub
4 changed files with 1 additions and 6 deletions
@@ -25,9 +25,6 @@ import { ServiceRef } from '@backstage/backend-plugin-api';
import { TokenManagerService } from '@backstage/backend-plugin-api';
import { UrlReaderService } from '@backstage/backend-plugin-api';
// @public (undocumented)
export const getDockerImageForName: (name: string) => string;
// @public (undocumented)
export function isDockerDisabledForTests(): boolean;
@@ -16,7 +16,7 @@
import { DatabaseManager } from '@backstage/backend-common';
import { Knex } from 'knex';
import { getDockerImageForName } from '../util';
import { getDockerImageForName } from '../util/getDockerImageForName';
/**
* The possible databases to test against.
@@ -14,7 +14,6 @@
* limitations under the License.
*/
/** @public */
export const getDockerImageForName = (name: string) => {
return process.env.BACKSTAGE_TEST_DOCKER_REGISTRY
? `${process.env.BACKSTAGE_TEST_DOCKER_REGISTRY}/${name}`
@@ -15,4 +15,3 @@
*/
export { isDockerDisabledForTests } from './isDockerDisabledForTests';
export { getDockerImageForName } from './getDockerImageForName';