File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff 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 ) ;
You can’t perform that action at this time.
0 commit comments