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

Update failing tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2022-07-20 11:01:14 -04:00
parent e3849bf1a6
commit ff4e2af54c
2 changed files with 4 additions and 9 deletions

View File

@ -448,14 +448,8 @@ exports[`opening dock tab for installing helm chart given application is started
</div>
</div>
<div
class="NoItems flex box grow"
>
<div
class="box center"
>
Item list is empty
</div>
</div>
class="Spinner singleColor center"
/>
</div>
<div
class="AddRemoveButtons flex gaps"

View File

@ -23,6 +23,7 @@ import type { DiContainer } from "@ogre-tools/injectable";
import type { ListHelmCharts } from "../../../renderer/k8s/helm-charts.api/list.injectable";
import listHelmChartsInjectable from "../../../renderer/k8s/helm-charts.api/list.injectable";
import createHelmReleaseInjectable from "../../../renderer/k8s/helm-releases.api/create.injectable";
import getHelmChartValuesInjectable from "../../../renderer/k8s/helm-charts.api/get-values.injectable";
// TODO: Make tooltips free of side effects by making it deterministic
jest.mock("../../../renderer/components/tooltip/withTooltip", () => ({
@ -73,7 +74,7 @@ describe("opening dock tab for installing helm chart", () => {
);
rendererDi.override(
callForHelmChartVersionsInjectable,
getHelmChartValuesInjectable,
() => callForHelmChartValuesMock,
);