Skip to content

Commit 6bb45cf

Browse files
committed
Ignore invariant from code coverage
1 parent 3381f98 commit 6bb45cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/execution/execute.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ function handleFieldError(
638638
// In this mode, the client takes responsibility for error handling, so we
639639
// treat the field as if it were nullable.
640640
} else {
641+
/* c8 ignore next 4 */
641642
invariant(
642643
false,
643644
'Unexpected errorBehavior setting: ' + inspect(exeContext.errorBehavior),

0 commit comments

Comments
 (0)