@@ -30,29 +30,29 @@ describe('getUnderArticleComponents', () => {
3030 const keys = getKeys ( components ) ;
3131 expect ( keys ) . toEqual ( [ 'relatedContent' , 'topStories' , 'features' ] ) ;
3232 } ) ;
33- it ( 'returns all components in search order when referrer variant is adaptive_variant and referrer is search' , ( ) => {
33+ it ( 'returns all components in search order when referrer variant is adaptive_variation and referrer is search' , ( ) => {
3434 const components = getUnderArticleComponents ( {
3535 ...baseProps ,
36- referrerVariant : 'adaptive_variant ' ,
36+ referrerVariant : 'adaptive_variation ' ,
3737 referrer : 'search' ,
3838 } ) ;
3939 const keys = getKeys ( components ) ;
4040 expect ( keys ) . toEqual ( [ 'relatedContent' , 'topStories' , 'features' ] ) ;
4141 } ) ;
42- it ( 'returns all components in social order when referrer variant is adaptive_variant and referrer is social' , ( ) => {
42+ it ( 'returns all components in social order when referrer variant is adaptive_variation and referrer is social' , ( ) => {
4343 const components = getUnderArticleComponents ( {
4444 ...baseProps ,
45- referrerVariant : 'adaptive_variant ' ,
45+ referrerVariant : 'adaptive_variation ' ,
4646 referrer : 'social' ,
4747 } ) ;
4848 const keys = getKeys ( components ) ;
4949 expect ( keys ) . toEqual ( [ 'features' , 'relatedContent' , 'topStories' ] ) ;
5050 } ) ;
5151
52- it ( 'returns all components in direct order when referrer variant is adaptive_variant and referrer is direct' , ( ) => {
52+ it ( 'returns all components in direct order when referrer variant is adaptive_variation and referrer is direct' , ( ) => {
5353 const components = getUnderArticleComponents ( {
5454 ...baseProps ,
55- referrerVariant : 'adaptive_variant ' ,
55+ referrerVariant : 'adaptive_variation ' ,
5656 referrer : 'direct' ,
5757 } ) ;
5858 const keys = getKeys ( components ) ;
@@ -90,20 +90,20 @@ describe('getUnderArticleComponents', () => {
9090 const keys = getKeys ( components ) ;
9191 expect ( keys ) . toEqual ( [ 'relatedContent' , 'topStories' , 'features' ] ) ;
9292 } ) ;
93- it ( 'returns default order when referrerVariant is adaptive_variant and referrer is null' , ( ) => {
93+ it ( 'returns default order when referrerVariant is adaptive_variation and referrer is null' , ( ) => {
9494 const components = getUnderArticleComponents ( {
9595 ...baseProps ,
96- referrerVariant : 'adaptive_variant ' ,
96+ referrerVariant : 'adaptive_variation ' ,
9797 referrer : null ,
9898 } ) ;
9999 const keys = getKeys ( components ) ;
100100 expect ( keys ) . toEqual ( [ 'relatedContent' , 'topStories' , 'features' ] ) ;
101101 } ) ;
102102
103- it ( 'returns default order when referrerVariant is adaptive_variant and referrer is undefined' , ( ) => {
103+ it ( 'returns default order when referrerVariant is adaptive_variation and referrer is undefined' , ( ) => {
104104 const components = getUnderArticleComponents ( {
105105 ...baseProps ,
106- referrerVariant : 'adaptive_variant ' ,
106+ referrerVariant : 'adaptive_variation ' ,
107107 // referrer is undefined
108108 } ) ;
109109 const keys = getKeys ( components ) ;
0 commit comments