mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix bad rebase causing tests to fail
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
c52826b450
commit
45f07a15c7
2 files changed
-43
No files matched your search
@@ -237,47 +237,6 @@ describe("installing helm chart from new tab", () => {
|
||||
).toBeInTheDocument();
|
||||
});
|
||||
|
||||
describe("when default configuration and versions resolve", () => {
|
||||
beforeEach(async () => {
|
||||
await requestHelmChartValuesMock.resolve(
|
||||
"some-default-configuration",
|
||||
);
|
||||
|
||||
await requestHelmChartVersionsMock.resolve([
|
||||
HelmChart.create({
|
||||
apiVersion: "some-api-version",
|
||||
name: "some-name",
|
||||
version: "some-version",
|
||||
repo: "some-repository",
|
||||
created: "2015-10-21T07:28:00Z",
|
||||
description: "some-description",
|
||||
keywords: [],
|
||||
sources: [],
|
||||
urls: [],
|
||||
annotations: {},
|
||||
dependencies: [],
|
||||
maintainers: [],
|
||||
deprecated: false,
|
||||
}),
|
||||
|
||||
HelmChart.create({
|
||||
apiVersion: "some-api-version",
|
||||
name: "some-name",
|
||||
version: "some-other-version",
|
||||
repo: "some-repository",
|
||||
created: "2015-10-21T07:28:00Z",
|
||||
description: "some-description",
|
||||
keywords: [],
|
||||
sources: [],
|
||||
urls: [],
|
||||
annotations: {},
|
||||
dependencies: [],
|
||||
maintainers: [],
|
||||
deprecated: false,
|
||||
}),
|
||||
]);
|
||||
});
|
||||
|
||||
it("given versions resolve but default configuration has not resolved yet, still shows the spinner", async () => {
|
||||
await requestHelmChartVersionsMock.resolve([]);
|
||||
|
||||
@@ -1029,4 +988,3 @@ describe("installing helm chart from new tab", () => {
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -187,7 +187,6 @@ export const getDiForUnitTesting = (
|
||||
}) as unknown as HotbarStore);
|
||||
|
||||
di.override(fileSystemProvisionerStoreInjectable, () => ({}) as FileSystemProvisionerStore);
|
||||
|
||||
di.override(defaultShellInjectable, () => "some-default-shell");
|
||||
|
||||
di.override(userStoreInjectable, () => ({
|
||||
|
||||
Reference in new issue
Block a user