@@ -84,7 +84,7 @@ if (programType === 'DAB') {
84
84
} else if ( programType === 'SAB' ) {
85
85
test ( 'convertConfig: parse traits' , ( ) => {
86
86
const result = parseTraits ( document , 'dummy' , 1 ) ;
87
- expect ( Object . keys ( result ) ) . toHaveLength ( 6 ) ;
87
+ expect ( Object . keys ( result ) ) . toHaveLength ( 7 ) ;
88
88
} ) ;
89
89
90
90
test ( 'convertConfig: parse book collections' , ( ) => {
@@ -100,7 +100,7 @@ if (programType === 'DAB') {
100
100
expect ( bc . languageCode ) . not . toBe ( '' ) ;
101
101
expect ( bc . languageName ) . not . toBe ( '' ) ;
102
102
103
- expect ( Object . keys ( bc . features ) ) . toHaveLength ( 39 ) ;
103
+ expect ( Object . keys ( bc . features ) ) . toHaveLength ( 40 ) ;
104
104
105
105
expect ( bc . books ) . not . toHaveLength ( 0 ) ;
106
106
for ( const bk in bc . books ) {
@@ -196,7 +196,7 @@ if (programType === 'DAB') {
196
196
197
197
test ( 'convertConfig: parse features' , ( ) => {
198
198
const result = parseFeatures ( document , 1 ) ;
199
- expect ( Object . keys ( result ) ) . toHaveLength ( 135 ) ;
199
+ expect ( Object . keys ( result ) ) . toHaveLength ( 137 ) ;
200
200
} ) ;
201
201
202
202
test ( 'convertConfig: parse background images' , ( ) => {
0 commit comments