File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
integration-test/test-pages/infra/pages Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ function generateConfig() {
24
24
} ,
25
25
currentCohorts : [
26
26
{
27
- feature : 'ContentScopeExperiments ' ,
27
+ feature : 'contentScopeExperiments ' ,
28
28
subfeature : 'bloops' ,
29
29
cohort : 'control' ,
30
30
} ,
31
31
{
32
- feature : 'ContentScopeExperiments ' ,
32
+ feature : 'contentScopeExperiments ' ,
33
33
subfeature : 'test' ,
34
34
cohort : 'treatment' ,
35
35
} ,
Original file line number Diff line number Diff line change 14
14
< code >
15
15
currentCohorts: [
16
16
{
17
- "feature": "ContentScopeExperiments ",
17
+ "feature": "contentScopeExperiments ",
18
18
"subfeature": "bloops",
19
19
"cohort": "control",
20
20
},
21
21
{
22
- "feature": "ContentScopeExperiments ",
22
+ "feature": "contentScopeExperiments ",
23
23
"subfeature": "test",
24
24
"cohort": "treatment",
25
25
},
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export default class ConfigFeature {
178
178
* }
179
179
* }
180
180
* ```
181
- * Where featureName "ContentScopeExperiments " has a subfeature "experimentName" and cohort "cohort-name"
181
+ * Where featureName "contentScopeExperiments " has a subfeature "experimentName" and cohort "cohort-name"
182
182
* @param {ConditionBlock } conditionBlock
183
183
* @returns {boolean }
184
184
*/
@@ -190,7 +190,7 @@ export default class ConfigFeature {
190
190
if ( ! currentCohorts ) return false ;
191
191
return currentCohorts . some ( ( cohort ) => {
192
192
return (
193
- cohort . feature === 'ContentScopeExperiments ' &&
193
+ cohort . feature === 'contentScopeExperiments ' &&
194
194
cohort . subfeature === experiment . experimentName &&
195
195
cohort . cohort === experiment . cohort
196
196
) ;
You can’t perform that action at this time.
0 commit comments