mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix crash when upgrading release (#6626)
* Fix crash when upgrading release Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix crash when upgrading helm releases - Fixes not being able to upgrade helm releases as well. Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix tests Signed-off-by: Sebastian Malton <sebastian@malton.name> * Fix test failures Signed-off-by: Sebastian Malton <sebastian@malton.name> Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
1354fa66a5
commit
573cd83bfb
16 files changed
+146
-68
No files matched your search
@@ -69,7 +69,10 @@ describe("listing active helm repositories in preferences", () => {
|
||||
expect(execFileMock).toHaveBeenCalledWith(
|
||||
"some-helm-binary-path",
|
||||
["env"],
|
||||
{ "maxBuffer": 34359738368 },
|
||||
{
|
||||
maxBuffer: 34359738368,
|
||||
env: {},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -77,7 +80,10 @@ describe("listing active helm repositories in preferences", () => {
|
||||
expect(execFileMock).not.toHaveBeenCalledWith(
|
||||
"some-helm-binary-path",
|
||||
["repo", "update"],
|
||||
{ "maxBuffer": 34359738368 },
|
||||
{
|
||||
maxBuffer: 34359738368,
|
||||
env: {},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -222,7 +228,10 @@ describe("listing active helm repositories in preferences", () => {
|
||||
expect(execFileMock).toHaveBeenCalledWith(
|
||||
"some-helm-binary-path",
|
||||
["repo", "update"],
|
||||
{ "maxBuffer": 34359738368 },
|
||||
{
|
||||
maxBuffer: 34359738368,
|
||||
env: {},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -289,7 +298,10 @@ describe("listing active helm repositories in preferences", () => {
|
||||
expect(execFileMock).toHaveBeenCalledWith(
|
||||
"some-helm-binary-path",
|
||||
["repo", "add", "bitnami", "https://charts.bitnami.com/bitnami"],
|
||||
{ "maxBuffer": 34359738368 },
|
||||
{
|
||||
maxBuffer: 34359738368,
|
||||
env: {},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
@@ -434,7 +446,10 @@ describe("listing active helm repositories in preferences", () => {
|
||||
expect(execFileMock).not.toHaveBeenCalledWith(
|
||||
"some-helm-binary-path",
|
||||
["repo", "add", "bitnami", "https://charts.bitnami.com/bitnami"],
|
||||
{ "maxBuffer": 34359738368 },
|
||||
{
|
||||
maxBuffer: 34359738368,
|
||||
env: {},
|
||||
},
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user