diff --git a/dashboard/src/components/PackageHeader/PackageView.test.tsx b/dashboard/src/components/PackageHeader/PackageView.test.tsx index e031e84a2c4..16a1a36ce88 100644 --- a/dashboard/src/components/PackageHeader/PackageView.test.tsx +++ b/dashboard/src/components/PackageHeader/PackageView.test.tsx @@ -25,7 +25,7 @@ const defaultProps = { isFetching: false, namespace: "test", cluster: "default", - selected: { versions: [] } as IPackageState["selected"], + selected: { versions: [], metadatas: [] } as IPackageState["selected"], version: undefined, kubeappsNamespace: "kubeapps", id: "test", diff --git a/dashboard/src/reducers/availablepackages.test.ts b/dashboard/src/reducers/availablepackages.test.ts index f7d56aa6eb6..fee97ab3e6a 100644 --- a/dashboard/src/reducers/availablepackages.test.ts +++ b/dashboard/src/reducers/availablepackages.test.ts @@ -57,6 +57,7 @@ describe("packageReducer", () => { categories: [], selected: { versions: [], + metadatas: [], }, nextPageToken: "", size: 20,