Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiyuanliang-ms committed Sep 24, 2024
1 parent 5ce3b1e commit a5556f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/featureFlag.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit a5556f0

Please sign in to comment.