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 {
13
13
// Create GrowthBookClient with proper configuration
14
14
const clientOptions : ClientOptions = {
15
15
apiHost : 'https://cdn.growthbook.io' ,
16
- clientKey : 'sdk-abc123'
16
+ clientKey : 'sdk-abc123' ,
17
17
} ;
18
18
this . _gbClient = new GrowthBookClient ( clientOptions ) ;
19
19
20
20
// Create features for testing
21
21
const features = this . _createTestFeatures ( ) ;
22
22
23
23
this . _gbClient . initSync ( {
24
- payload : { features }
24
+ payload : { features } ,
25
25
} ) ;
26
26
}
27
27
Original file line number Diff line number Diff line change @@ -12,21 +12,21 @@ class GrowthBookWrapper {
12
12
// Create GrowthBookClient and initialize it synchronously with payload
13
13
const clientOptions : ClientOptions = {
14
14
apiHost : 'https://cdn.growthbook.io' ,
15
- clientKey : 'sdk-abc123'
15
+ clientKey : 'sdk-abc123' ,
16
16
} ;
17
17
this . _gbClient = new GrowthBookClient ( clientOptions ) ;
18
18
19
19
// Create test features
20
20
const features = {
21
- ' feat1' : { defaultValue : true } ,
22
- ' feat2' : { defaultValue : false } ,
21
+ feat1 : { defaultValue : true } ,
22
+ feat2 : { defaultValue : false } ,
23
23
'bool-feat' : { defaultValue : true } ,
24
- 'string-feat' : { defaultValue : 'hello' }
24
+ 'string-feat' : { defaultValue : 'hello' } ,
25
25
} ;
26
26
27
27
// Initialize synchronously with payload
28
28
const initOptions : InitSyncOptions = {
29
- payload : { features }
29
+ payload : { features } ,
30
30
} ;
31
31
32
32
this . _gbClient . initSync ( initOptions ) ;
You can’t perform that action at this time.
0 commit comments