Improve spy mocking for queryManager.refetchQueries test.
Improve spy mocking for queryManager.refetchQueries test.

https://github.com/apollographql/apollo-client/pull/8000#discussion_r616266128

apollographql/apollo-client,apollographql/apollo-client