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:
parent
9c751998f3
commit
97dfe4d696
@ -6,6 +6,7 @@
|
|||||||
import { getGlobalOverride } from "../../../common/test-utils/get-global-override";
|
import { getGlobalOverride } from "../../../common/test-utils/get-global-override";
|
||||||
import computeUnixShellEnvironmentInjectable from "./compute-unix-shell-environment.injectable";
|
import computeUnixShellEnvironmentInjectable from "./compute-unix-shell-environment.injectable";
|
||||||
|
|
||||||
export default getGlobalOverride(computeUnixShellEnvironmentInjectable, () => async () => {
|
export default getGlobalOverride(computeUnixShellEnvironmentInjectable, () => async () => ({
|
||||||
throw new Error("Tried to get unix shell env without override");
|
callWasSuccessful: true,
|
||||||
});
|
response: process.env,
|
||||||
|
}));
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user