File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -114,7 +114,7 @@ export class FeatureManager implements IFeatureManager {
114114 if ( clientFilter . name === "Microsoft.Targeting" && this . #targetingContextAccessor !== undefined ) {
115115 appContext = this . #targetingContextAccessor( ) ;
116116 }
117- clientFilterEvaluationResult = await matchedFeatureFilter . evaluate ( contextWithFeatureName , appContext ) ;
117+ clientFilterEvaluationResult = await matchedFeatureFilter . evaluate ( contextWithFeatureName , appContext ) ;
118118 }
119119 if ( clientFilterEvaluationResult === shortCircuitEvaluationResult ) {
120120 return shortCircuitEvaluationResult ;
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ describe("feature variant", () => {
9595describe ( "variant assignment with targeting context accessor" , ( ) => {
9696 it ( "should assign variant based on targeting context accessor" , async ( ) => {
9797 let userId = "" ;
98- let groups : string [ ] = [ ] ;
98+ const groups : string [ ] = [ ] ;
9999 const testTargetingContextAccessor = ( ) => ( { userId, groups } ) ;
100100 const provider = new ConfigurationObjectFeatureFlagProvider ( featureFlagsConfigurationObject ) ;
101101 const featureManager = new FeatureManager ( provider , { targetingContextAccessor : testTargetingContextAccessor } ) ;
You can’t perform that action at this time.
0 commit comments