mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Typescript fix
Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
parent
6be8393599
commit
4abd14c5ac
@ -127,7 +127,7 @@ describe("update-entity-spec", () => {
|
||||
});
|
||||
|
||||
it("given entity has no metrics, updates entity spec with prometheus provider", () => {
|
||||
entity.spec.metrics = undefined;
|
||||
expect(entity.spec.metrics).toBeUndefined();
|
||||
|
||||
cluster.preferences.prometheusProvider = {
|
||||
type: "some-prometheus-provider-type",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user