@@ -1027,6 +1027,7 @@ describe("bucket loaders", () => {
10271027 undefined , // lockedKeys
10281028 undefined , // lockedPatterns
10291029 [ "ignored.key" , "nested/ignored" ] , // ignoredKeys
1030+ undefined , // preservedKeys
10301031 ) ;
10311032
10321033 jsonLoader . setDefaultLocale ( "en" ) ;
@@ -1078,6 +1079,7 @@ describe("bucket loaders", () => {
10781079 undefined , // lockedKeys
10791080 undefined , // lockedPatterns
10801081 [ "wildcard_*" ] , // ignoredKeys with wildcard
1082+ undefined , // preservedKeys
10811083 ) ;
10821084
10831085 jsonLoader . setDefaultLocale ( "en" ) ;
@@ -4266,13 +4268,14 @@ Línea 3`;
42664268 // Locked keys should be filtered out (they get flattened and encoded)
42674269 // After flat loader, keys become "hello%20world/stringUnit" and "%25lld%20unit_days/variations/plural"
42684270 expect ( dataForTranslation ) . not . toHaveProperty ( "hello%20world/stringUnit" ) ;
4269- expect ( dataForTranslation ) . not . toHaveProperty ( "%25lld%20unit_days/variations/plural" ) ;
4271+ expect ( dataForTranslation ) . not . toHaveProperty (
4272+ "%25lld%20unit_days/variations/plural" ,
4273+ ) ;
42704274
42714275 // Non-locked keys should remain (flattened)
42724276 expect ( dataForTranslation ) . toHaveProperty ( "regular_key/stringUnit" ) ;
42734277 expect ( dataForTranslation [ "regular_key/stringUnit" ] ) . toBe ( "Regular" ) ;
42744278 } ) ;
4275-
42764279 } ) ;
42774280
42784281 describe ( "typescript bucket loader" , ( ) => {
0 commit comments