File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/client/lib/sentinel Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1029,8 +1029,8 @@ describe.skip('legacy tests', () => {
1029
1029
await sentinel . get ( 'x' ) ;
1030
1030
await sentinel . get ( 'x' ) ;
1031
1031
1032
- assert . equal ( 1 , csc . cacheMisses ( ) ) ;
1033
- assert . equal ( 3 , csc . cacheHits ( ) ) ;
1032
+ assert . equal ( 1 , csc . stats ( ) . missCount ) ;
1033
+ assert . equal ( 3 , csc . stats ( ) . hitCount ) ;
1034
1034
1035
1035
const invalidatePromise = once ( csc , 'invalidate' ) ;
1036
1036
await sentinel . set ( 'x' , 2 ) ;
@@ -1040,8 +1040,8 @@ describe.skip('legacy tests', () => {
1040
1040
await sentinel . get ( 'x' ) ;
1041
1041
await sentinel . get ( 'x' ) ;
1042
1042
1043
- assert . equal ( csc . cacheMisses ( ) , 2 ) ;
1044
- assert . equal ( csc . cacheHits ( ) , 6 ) ;
1043
+ assert . equal ( csc . stats ( ) . missCount , 2 ) ;
1044
+ assert . equal ( csc . stats ( ) . hitCount , 6 ) ;
1045
1045
} )
1046
1046
} ) ;
1047
1047
} ) ;
You can’t perform that action at this time.
0 commit comments