diff --git a/src/execution/__tests__/flattenAsyncIterable-test.ts b/src/execution/__tests__/flattenAsyncIterable-test.ts index 726b94e5d4..abd3b1d658 100644 --- a/src/execution/__tests__/flattenAsyncIterable-test.ts +++ b/src/execution/__tests__/flattenAsyncIterable-test.ts @@ -112,8 +112,6 @@ describe('flattenAsyncIterable', () => { let caughtError; try { await doubles.throw('ouch'); /* c8 ignore start */ - // Not reachable, always throws - /* c8 ignore stop */ } catch (e) { caughtError = e; } diff --git a/src/execution/flattenAsyncIterable.ts b/src/execution/flattenAsyncIterable.ts index 5e1d62bf45..22bdb02338 100644 --- a/src/execution/flattenAsyncIterable.ts +++ b/src/execution/flattenAsyncIterable.ts @@ -99,7 +99,6 @@ export function flattenAsyncIterable( throw error; }, [Symbol.asyncIterator]() { - /* c8 ignore next */ return this; }, };