1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix new tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-11-08 14:19:18 -05:00
parent 9c751998f3
commit 97dfe4d696

View File

@ -6,6 +6,7 @@
import { getGlobalOverride } from "../../../common/test-utils/get-global-override";
import computeUnixShellEnvironmentInjectable from "./compute-unix-shell-environment.injectable";
export default getGlobalOverride(computeUnixShellEnvironmentInjectable, () => async () => {
throw new Error("Tried to get unix shell env without override");
});
export default getGlobalOverride(computeUnixShellEnvironmentInjectable, () => async () => ({
callWasSuccessful: true,
response: process.env,
}));