From a5556f03bd6dd728792c3e59777091d96953efc9 Mon Sep 17 00:00:00 2001 From: zhiyuanliang Date: Tue, 24 Sep 2024 18:32:43 +0800 Subject: [PATCH] fix lint --- test/featureFlag.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/featureFlag.test.ts b/test/featureFlag.test.ts index bdad42f..05537fc 100644 --- a/test/featureFlag.test.ts +++ b/test/featureFlag.test.ts @@ -162,7 +162,7 @@ describe("feature flags", function () { it("should populate telemetry metadata", async () => { const connectionString = createMockedConnectionString(); - let settings = await load(connectionString, { + const settings = await load(connectionString, { featureFlagOptions: { enabled: true, selectors: [ @@ -190,7 +190,7 @@ describe("feature flags", function () { expect(featureFlag.telemetry.metadata.Etag).equals("Etag"); expect(featureFlag.telemetry.metadata.FeatureFlagId).equals("krkOsu9dVV9huwbQDPR6gkV_2T0buWxOCS-nNsj5-6g"); expect(featureFlag.telemetry.metadata.FeatureFlagReference).equals(`${createMockedEndpoint()}/kv/.appconfig.featureflag/Telemetry_1`); - + featureFlag = featureFlags[1]; expect(featureFlag).not.undefined; expect(featureFlag.id).equals("Telemetry_2");