Skip to content

Commit 71e3d85

Browse files
rads-1996Copilot
andauthored
Update shared/AppInsightsCore/Tests/Unit/src/ai/ApplicationInsightsCore.Tests.ts
Fix lint Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8d1de51 commit 71e3d85

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

shared/AppInsightsCore/Tests/Unit/src/ai/ApplicationInsightsCore.Tests.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2598,15 +2598,15 @@ export class ApplicationInsightsCoreTests extends AITestClass {
25982598
});
25992599

26002600
this.testCase({
2601-
name: "FieldRedaction: should redact credentials while preserving query strings when redactQueryParams is false",
2601+
name: "FieldRedaction: should redact credentials while preserving query strings when redactQueryParams is false",
26022602
test: () => {
2603-
let config = {
2604-
redactQueryParams: false
2605-
} as IConfiguration;
2606-
const url = "https://user:password@example.com/path?sig=secret&color=blue&token=abc123";
2603+
let config = {
2604+
redactQueryParams: false
2605+
} as IConfiguration;
2606+
const url = "https://user:password@example.com/path?sig=secret&color=blue&token=abc123";
26072607
const redactedLocation = fieldRedaction(url, config);
2608-
Assert.equal(redactedLocation, "https://REDACTED:REDACTED@example.com/path?sig=secret&color=blue&token=abc123",
2609-
"Credentials should be redacted while query string values remain unchanged when redactQueryParams is false");
2608+
Assert.equal(redactedLocation, "https://REDACTED:REDACTED@example.com/path?sig=secret&color=blue&token=abc123",
2609+
"Credentials should be redacted while query string values remain unchanged when redactQueryParams is false");
26102610
}
26112611
});
26122612

0 commit comments

Comments
 (0)