Skip to content

Commit 333eb3b

Browse files
update request tracing testcase
1 parent d74fdd2 commit 333eb3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/requestTracing.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ describe("request tracing", function () {
121121
});
122122
} catch (e) { /* empty */ }
123123
expect(headerPolicy.headers).not.undefined;
124+
expect(headerPolicy.headers.get("User-Agent")).satisfy((ua: string) => ua.startsWith("javascript-appconfiguration-provider"));
124125
const correlationContext = headerPolicy.headers.get("Correlation-Context");
125126
expect(correlationContext).not.undefined;
126127
expect(correlationContext.includes("CDN")).eq(true);

0 commit comments

Comments
 (0)