Skip to content

Commit b5d0a60

Browse files
update
1 parent 4b64726 commit b5d0a60

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/integration.test.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,17 @@ describe("integration test", function () {
4646
}
4747
}
4848
});
49+
expect(headerPolicy.headers).not.undefined;
50+
let correlationContext = headerPolicy.headers.get("Correlation-Context");
51+
expect(correlationContext).not.undefined;
52+
expect(correlationContext.includes("RequestType=Startup")).eq(true);
53+
4954
await sleepInMs(1000 + 1);
5055
try {
5156
await settings.refresh();
5257
} catch (e) { /* empty */ }
5358
expect(headerPolicy.headers).not.undefined;
54-
const correlationContext = headerPolicy.headers.get("Correlation-Context");
59+
correlationContext = headerPolicy.headers.get("Correlation-Context");
5560
expect(correlationContext).not.undefined;
5661
expect(correlationContext.includes("RequestType=Watch")).eq(true);
5762
expect(correlationContext.includes("Filter=CSTM+TIME+TRGT")).eq(true);

0 commit comments

Comments
 (0)