Typescript fix

Signed-off-by: Juho Heikka <juho.heikka@gmail.com>
This commit is contained in:
Juho Heikka committed 2023-03-08 12:19:11 +02:00
1 parent 6be8393599
commit 4abd14c5ac
1 file changed
+1 -1
@@ -127,7 +127,7 @@ describe("update-entity-spec", () => {
}); });
it("given entity has no metrics, updates entity spec with prometheus provider", () => { it("given entity has no metrics, updates entity spec with prometheus provider", () => {
entity.spec.metrics = undefined; expect(entity.spec.metrics).toBeUndefined();
cluster.preferences.prometheusProvider = { cluster.preferences.prometheusProvider = {
type: "some-prometheus-provider-type", type: "some-prometheus-provider-type",