@@ -46,6 +46,10 @@ const defaultCacheSizesAsObject = {
4646 defaultCacheSizes [ "inMemoryCache.executeSelectionSet" ] ,
4747 "inMemoryCache.executeSubSelectedArray" :
4848 defaultCacheSizes [ "inMemoryCache.executeSubSelectedArray" ] ,
49+ "inMemoryCache.prunePartialBoundaries" :
50+ defaultCacheSizes [ "inMemoryCache.prunePartialBoundaries" ] ,
51+ "inMemoryCache.prunePartialStreamArray" :
52+ defaultCacheSizes [ "inMemoryCache.prunePartialStreamArray" ] ,
4953} ;
5054
5155it ( "returns information about cache usage (empty caches)" , ( ) => {
@@ -66,7 +70,7 @@ it("returns information about cache usage (empty caches)", () => {
6670 . concat ( new RemoveTypenameFromVariablesLink ( ) )
6771 . concat ( ApolloLink . empty ( ) ) ,
6872 } ) ;
69- expect ( client . getMemoryInternals ?.( ) ) . toEqual ( {
73+ expect ( client . getMemoryInternals ?.( ) ) . toStrictEqualTyped ( {
7074 limits : defaultCacheSizesAsObject ,
7175 sizes : {
7276 canonicalStringify : 0 ,
@@ -99,6 +103,8 @@ it("returns information about cache usage (empty caches)", () => {
99103 executeSelectionSet : 0 ,
100104 executeSubSelectedArray : 0 ,
101105 maybeBroadcastWatch : 0 ,
106+ prunePartialBoundaries : 0 ,
107+ prunePartialStreamArray : 0 ,
102108 } ,
103109 links : [
104110 {
@@ -144,7 +150,7 @@ it("returns information about cache usage (some query triggered)", () => {
144150 ` ,
145151 } )
146152 . catch ( ( ) => { } ) ;
147- expect ( client . getMemoryInternals ?.( ) ) . toStrictEqual ( {
153+ expect ( client . getMemoryInternals ?.( ) ) . toStrictEqualTyped ( {
148154 limits : defaultCacheSizesAsObject ,
149155 sizes : {
150156 canonicalStringify : 0 ,
@@ -177,6 +183,8 @@ it("returns information about cache usage (some query triggered)", () => {
177183 executeSelectionSet : 1 ,
178184 executeSubSelectedArray : 0 ,
179185 maybeBroadcastWatch : 0 ,
186+ prunePartialBoundaries : 0 ,
187+ prunePartialStreamArray : 0 ,
180188 } ,
181189 links : [
182190 {
0 commit comments