Skip to content

Commit 504807a

Browse files
update testcase
1 parent 6709997 commit 504807a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/requestTracing.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ describe("request tracing", function () {
5656
});
5757
} catch (e) { /* empty */ }
5858
expect(headerPolicy.headers).not.undefined;
59-
expect(headerPolicy.headers.get("Correlation-Context")).eq("RequestType=Startup");
59+
const correlationContext = headerPolicy.headers.get("Correlation-Context");
60+
expect(correlationContext.includes("RequestType=Startup")).eq(true);
6061
});
6162

6263
it("should have key vault tag in correlation-context header", async () => {

0 commit comments

Comments
 (0)