@@ -912,8 +912,7 @@ describe("nextFetchPolicy", () => {
912912 observable,
913913 stream,
914914 } ) => {
915- await expect ( stream ) . toEmitMatchedValue ( {
916- loading : false ,
915+ await expect ( stream ) . toEmitTypedValue ( {
917916 data : {
918917 echo : {
919918 __typename : "Echo" ,
@@ -922,6 +921,9 @@ describe("nextFetchPolicy", () => {
922921 opVars : { } ,
923922 } ,
924923 } ,
924+ loading : false ,
925+ networkStatus : NetworkStatus . ready ,
926+ partial : false ,
925927 } ) ;
926928
927929 expect ( observable . options . fetchPolicy ) . toBe ( "cache-first" ) ;
@@ -1056,8 +1058,7 @@ describe("nextFetchPolicy", () => {
10561058 observable,
10571059 stream,
10581060 } ) => {
1059- await expect ( stream ) . toEmitMatchedValue ( {
1060- loading : false ,
1061+ await expect ( stream ) . toEmitTypedValue ( {
10611062 data : {
10621063 echo : {
10631064 __typename : "Echo" ,
@@ -1066,6 +1067,9 @@ describe("nextFetchPolicy", () => {
10661067 opVars : { } ,
10671068 } ,
10681069 } ,
1070+ loading : false ,
1071+ networkStatus : NetworkStatus . ready ,
1072+ partial : false ,
10691073 } ) ;
10701074 expect ( observable . options . fetchPolicy ) . toBe ( "cache-first" ) ;
10711075
@@ -1222,8 +1226,7 @@ describe("nextFetchPolicy", () => {
12221226 observable,
12231227 stream,
12241228 } ) => {
1225- await expect ( stream ) . toEmitMatchedValue ( {
1226- loading : false ,
1229+ await expect ( stream ) . toEmitTypedValue ( {
12271230 data : {
12281231 echo : {
12291232 __typename : "Echo" ,
@@ -1232,6 +1235,9 @@ describe("nextFetchPolicy", () => {
12321235 opVars : { } ,
12331236 } ,
12341237 } ,
1238+ loading : false ,
1239+ networkStatus : NetworkStatus . ready ,
1240+ partial : false ,
12351241 } ) ;
12361242 expect ( observable . options . fetchPolicy ) . toBe ( "cache-first" ) ;
12371243
0 commit comments