File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
dev-packages/node-integration-tests/suites/featureFlags/growthbook Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -13,15 +13,15 @@ class GrowthBookWrapper {
1313 // Create GrowthBookClient with proper configuration
1414 const clientOptions : ClientOptions = {
1515 apiHost : 'https://cdn.growthbook.io' ,
16- clientKey : 'sdk-abc123'
16+ clientKey : 'sdk-abc123' ,
1717 } ;
1818 this . _gbClient = new GrowthBookClient ( clientOptions ) ;
1919
2020 // Create features for testing
2121 const features = this . _createTestFeatures ( ) ;
2222
2323 this . _gbClient . initSync ( {
24- payload : { features }
24+ payload : { features } ,
2525 } ) ;
2626 }
2727
Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ class GrowthBookWrapper {
1212 // Create GrowthBookClient and initialize it synchronously with payload
1313 const clientOptions : ClientOptions = {
1414 apiHost : 'https://cdn.growthbook.io' ,
15- clientKey : 'sdk-abc123'
15+ clientKey : 'sdk-abc123' ,
1616 } ;
1717 this . _gbClient = new GrowthBookClient ( clientOptions ) ;
1818
1919 // Create test features
2020 const features = {
21- ' feat1' : { defaultValue : true } ,
22- ' feat2' : { defaultValue : false } ,
21+ feat1 : { defaultValue : true } ,
22+ feat2 : { defaultValue : false } ,
2323 'bool-feat' : { defaultValue : true } ,
24- 'string-feat' : { defaultValue : 'hello' }
24+ 'string-feat' : { defaultValue : 'hello' } ,
2525 } ;
2626
2727 // Initialize synchronously with payload
2828 const initOptions : InitSyncOptions = {
29- payload : { features }
29+ payload : { features } ,
3030 } ;
3131
3232 this . _gbClient . initSync ( initOptions ) ;
You can’t perform that action at this time.
0 commit comments