@@ -395,7 +395,7 @@ describe('EppoClient E2E test', () => {
395
395
} ) ;
396
396
397
397
it ( 'does not log duplicate assignments' , ( ) => {
398
- client . useNonExpiringAssignmentCache ( ) ;
398
+ client . useNonExpiringInMemoryAssignmentCache ( ) ;
399
399
400
400
client . getAssignment ( 'subject-10' , flagKey ) ;
401
401
client . getAssignment ( 'subject-10' , flagKey ) ;
@@ -405,7 +405,7 @@ describe('EppoClient E2E test', () => {
405
405
} ) ;
406
406
407
407
it ( 'logs assignment again after the lru cache is full' , ( ) => {
408
- client . useLRUAssignmentCache ( 2 ) ;
408
+ client . useLRUInMemoryAssignmentCache ( 2 ) ;
409
409
410
410
client . getAssignment ( 'subject-10' , flagKey ) ; // logged
411
411
client . getAssignment ( 'subject-10' , flagKey ) ; // cached
@@ -449,7 +449,7 @@ describe('EppoClient E2E test', () => {
449
449
} ,
450
450
} ) ;
451
451
452
- client . useNonExpiringAssignmentCache ( ) ;
452
+ client . useNonExpiringInMemoryAssignmentCache ( ) ;
453
453
454
454
client . getAssignment ( 'subject-10' , flagKey ) ;
455
455
client . getAssignment ( 'subject-10' , flagKey ) ;
@@ -465,7 +465,7 @@ describe('EppoClient E2E test', () => {
465
465
} ) ;
466
466
467
467
it ( 'logs twice for the same flag when rollout increases/flag changes' , ( ) => {
468
- client . useNonExpiringAssignmentCache ( ) ;
468
+ client . useNonExpiringInMemoryAssignmentCache ( ) ;
469
469
470
470
storage . setEntries ( {
471
471
[ flagKey ] : {
@@ -540,7 +540,7 @@ describe('EppoClient E2E test', () => {
540
540
} ) ;
541
541
542
542
it ( 'logs the same subject/flag/variation after two changes' , ( ) => {
543
- client . useNonExpiringAssignmentCache ( ) ;
543
+ client . useNonExpiringInMemoryAssignmentCache ( ) ;
544
544
545
545
// original configuration version
546
546
storage . setEntries ( { [ flagKey ] : mockExperimentConfig } ) ;
0 commit comments