Skip to content

Commit

Permalink
F
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Jul 5, 2024
1 parent 0a324dc commit 431f1dd
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/executors/http/tests/buildHTTPExecutor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,9 @@ describe('buildHTTPExecutor', () => {
const executor = buildHTTPExecutor({
useGETForQueries: true,
fetch() {
return new Response(
JSON.stringify({ errors: [{ message: 'test error', extensions: { code: 'test code' } }] }),
{
headers: { 'Content-Type': 'application/json' },
},
);
return new Response(JSON.stringify({ errors: [{ message: 'test error' }] }), {
headers: { 'Content-Type': 'application/json' },
});
},
});

Expand Down

0 comments on commit 431f1dd

Please sign in to comment.