From 4abd14c5ac8ebee668ee7bd3f0801c4b727b3efa Mon Sep 17 00:00:00 2001 From: Juho Heikka Date: Wed, 8 Mar 2023 12:19:11 +0200 Subject: [PATCH] Typescript fix Signed-off-by: Juho Heikka --- packages/core/src/main/cluster/update-entity-spec.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/main/cluster/update-entity-spec.test.ts b/packages/core/src/main/cluster/update-entity-spec.test.ts index 66fa9ffd06..60be847ebe 100644 --- a/packages/core/src/main/cluster/update-entity-spec.test.ts +++ b/packages/core/src/main/cluster/update-entity-spec.test.ts @@ -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",