1
0
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:
Juho Heikka 2023-03-08 12:19:11 +02:00
parent 6be8393599
commit 4abd14c5ac

View File

@ -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",