Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Jerel Miller <jerelmiller@gmail.com>
  • Loading branch information
alessbell and jerelmiller authored Feb 2, 2023
1 parent a33606f commit 863e0f1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/__tests__/local-state/general.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ describe('Combining client and server state/operations', () => {
});
});

itAsync('should handle server errors when field is required', (resolve, reject) => {
itAsync('handles server errors when root data property is null', (resolve, reject) => {
const query = gql`
query GetUser {
user {
Expand All @@ -1209,7 +1209,6 @@ describe('Combining client and server state/operations', () => {

const cache = new InMemoryCache();
const link = new ApolloLink(operation => {
expect(operation.operationName).toBe('GetUser');
return Observable.of({
data: null,
errors: [new GraphQLError("something went wrong", {
Expand Down

0 comments on commit 863e0f1

Please sign in to comment.