refactor(test-utils): deprecate the isDockerDisabledForTests function
Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
@@ -54,7 +54,7 @@ export interface CreateMockDirectoryOptions {
|
||||
mockOsTmpDir?: boolean;
|
||||
}
|
||||
|
||||
// @public (undocumented)
|
||||
// @public @deprecated (undocumented)
|
||||
export function isDockerDisabledForTests(): boolean;
|
||||
|
||||
// @public (undocumented)
|
||||
|
||||
@@ -15,9 +15,18 @@
|
||||
*/
|
||||
|
||||
import { CreateMockDirectoryOptions } from './filesystem';
|
||||
import { isDockerDisabledForTests as _isDockerDisabledForTests } from './util';
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated Use `CreateMockDirectoryOptions` from `@backstage/backend-test-utils` instead.
|
||||
*/
|
||||
export type MockDirectoryOptions = CreateMockDirectoryOptions;
|
||||
|
||||
/**
|
||||
* @public
|
||||
* @deprecated This is an internal function and will no longer be exported from this package.
|
||||
*/
|
||||
export function isDockerDisabledForTests(): boolean {
|
||||
return _isDockerDisabledForTests();
|
||||
}
|
||||
|
||||
@@ -26,4 +26,3 @@ export * from './database';
|
||||
export * from './msw';
|
||||
export * from './filesystem';
|
||||
export * from './next';
|
||||
export * from './util';
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/** @public */
|
||||
export function isDockerDisabledForTests() {
|
||||
// If we are not running in continuous integration, the default is to skip
|
||||
// the (relatively heavy, long running) docker based tests. If you want to
|
||||
|
||||
Reference in New Issue
Block a user