chore: Fix kube-object-list-layout tests to maintain snapshot shape

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-02 10:11:52 -07:00
1 parent dcc5495312
commit fd5f912ccf
1 file changed
+2
@@ -22,6 +22,7 @@ import hostedClusterInjectable from "../../cluster-frame-context/hosted-cluster.
import type { PodStore } from "../workloads-pods/store";
import { Cluster } from "../../../common/cluster/cluster";
import isTableColumnHiddenInjectable from "../../../features/user-preferences/common/is-table-column-hidden.injectable";
import { podListLayoutColumnInjectionToken } from "@k8slens/list-layout";
describe("kube-object-list-layout", () => {
let di: DiContainer;
@@ -71,6 +72,7 @@ describe("kube-object-list-layout", () => {
renderTableContents={pod => [
<div key={pod.getName()}>{pod.getName()}</div>,
]}
columns={di.injectMany(podListLayoutColumnInjectionToken)}
/>
</div>
));