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', () => {
10291029 await sentinel . get ( 'x' ) ;
10301030 await sentinel . get ( 'x' ) ;
10311031
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 ) ;
10341034
10351035 const invalidatePromise = once ( csc , 'invalidate' ) ;
10361036 await sentinel . set ( 'x' , 2 ) ;
@@ -1040,8 +1040,8 @@ describe.skip('legacy tests', () => {
10401040 await sentinel . get ( 'x' ) ;
10411041 await sentinel . get ( 'x' ) ;
10421042
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 ) ;
10451045 } )
10461046 } ) ;
10471047} ) ;
You can’t perform that action at this time.
0 commit comments