diff --git a/src/common/fs/path-exists.global-override-for-injectable.ts b/src/common/fs/path-exists.global-override-for-injectable.ts new file mode 100644 index 0000000000..1b9b96c8dd --- /dev/null +++ b/src/common/fs/path-exists.global-override-for-injectable.ts @@ -0,0 +1,11 @@ +/** + * Copyright (c) OpenLens Authors. All rights reserved. + * Licensed under MIT License. See LICENSE in root directory for more information. + */ + +import { getGlobalOverride } from "../test-utils/get-global-override"; +import pathExistsInjectable from "./path-exists.injectable"; + +export default getGlobalOverride(pathExistsInjectable, () => async () => { + throw new Error("Tried to check if a path exists without override"); +});