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() {
2424 } ,
2525 currentCohorts : [
2626 {
27- feature : 'ContentScopeExperiments ' ,
27+ feature : 'contentScopeExperiments ' ,
2828 subfeature : 'bloops' ,
2929 cohort : 'control' ,
3030 } ,
3131 {
32- feature : 'ContentScopeExperiments ' ,
32+ feature : 'contentScopeExperiments ' ,
3333 subfeature : 'test' ,
3434 cohort : 'treatment' ,
3535 } ,
Original file line number Diff line number Diff line change 1414 < code >
1515 currentCohorts: [
1616 {
17- "feature": "ContentScopeExperiments ",
17+ "feature": "contentScopeExperiments ",
1818 "subfeature": "bloops",
1919 "cohort": "control",
2020 },
2121 {
22- "feature": "ContentScopeExperiments ",
22+ "feature": "contentScopeExperiments ",
2323 "subfeature": "test",
2424 "cohort": "treatment",
2525 },
Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ export default class ConfigFeature {
178178 * }
179179 * }
180180 * ```
181- * Where featureName "ContentScopeExperiments " has a subfeature "experimentName" and cohort "cohort-name"
181+ * Where featureName "contentScopeExperiments " has a subfeature "experimentName" and cohort "cohort-name"
182182 * @param {ConditionBlock } conditionBlock
183183 * @returns {boolean }
184184 */
@@ -190,7 +190,7 @@ export default class ConfigFeature {
190190 if ( ! currentCohorts ) return false ;
191191 return currentCohorts . some ( ( cohort ) => {
192192 return (
193- cohort . feature === 'ContentScopeExperiments ' &&
193+ cohort . feature === 'contentScopeExperiments ' &&
194194 cohort . subfeature === experiment . experimentName &&
195195 cohort . cohort === experiment . cohort
196196 ) ;
You can’t perform that action at this time.
0 commit comments