mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f7f83466d1
commit
91edd62547
@ -504,6 +504,7 @@ export const getApplicationBuilder = () => {
|
|||||||
const clusterStub = {
|
const clusterStub = {
|
||||||
id: "some-cluster-id",
|
id: "some-cluster-id",
|
||||||
accessibleNamespaces: observable.array(),
|
accessibleNamespaces: observable.array(),
|
||||||
|
allowedNamespaces: observable.array(),
|
||||||
shouldShowResource: (kind) => allowedResourcesState.has(formatKubeApiResource(kind)),
|
shouldShowResource: (kind) => allowedResourcesState.has(formatKubeApiResource(kind)),
|
||||||
} as Partial<Cluster> as Cluster;
|
} as Partial<Cluster> as Cluster;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user