Skip to content

Commit 2e1d930

Browse files
author
igor.luckenkov
committed
Ignore aborted condition test coverage
1 parent 148699f commit 2e1d930

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/execution/execute.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -886,6 +886,9 @@ function completeValue(
886886
result: unknown,
887887
asyncPayloadRecord?: AsyncPayloadRecord,
888888
): PromiseOrValue<unknown> {
889+
// Ignoring test coverage for abortion check since Node 14 doesn't support AbortSignal
890+
// and this condition is never true.
891+
/* c8 ignore next 3 */
889892
if (exeContext.abortion?.executionAbortSignal.aborted) {
890893
throw new GraphQLError('Execution aborted.');
891894
}

0 commit comments

Comments
 (0)