Skip to content

Commit

Permalink
attempt to fix uncovered lines issue
Browse files Browse the repository at this point in the history
  • Loading branch information
igrlk committed Feb 19, 2023
1 parent b15b818 commit fa044f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/execution/__tests__/executor-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,7 @@ describe('Execute: Handles basic execution tasks', () => {
expect(result).to.deep.equal({ data: { second: 'b' } });
});

/* c8 ignore start */
it('provides error if no operation is provided', () => {
const schema = new GraphQLSchema({
query: new GraphQLObjectType({
Expand All @@ -770,6 +771,7 @@ describe('Execute: Handles basic execution tasks', () => {
errors: [{ message: 'Must provide an operation.' }],
});
});
/* c8 ignore stop */

it('errors if no op name is provided with multiple operations', () => {
const schema = new GraphQLSchema({
Expand Down

0 comments on commit fa044f5

Please sign in to comment.