mirror of
https://github.com/lensapp/lens.git
synced 2024-09-17 12:17:08 +03:00
chore: Fix kube-object-list-layout tests to maintain snapshot shape
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
dcc5495312
commit
fd5f912ccf
@ -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>
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user