Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
annarieger committed Jun 28, 2022
1 parent 309f38f commit 916e397
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/service/GraphQLService/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,7 @@ describe('GraphQLService', () => {

const result = await service.sendQuery<User>(graphqlQuery);

expect(result.errors).toBeUndefined();
expect(result.data).toEqual(expected);
expect(result).toEqual(expected);
});

it('throws an error if the endpoint returns an errenous status code', async () => {
Expand Down

0 comments on commit 916e397

Please sign in to comment.