diff --git a/src/__tests__/version-test.ts b/src/__tests__/version-test.ts index 84cc7bbaab..3680512de8 100644 --- a/src/__tests__/version-test.ts +++ b/src/__tests__/version-test.ts @@ -36,7 +36,7 @@ describe('Version', () => { default: expect.fail('Invalid pre-release tag: ' + preReleaseTag); } - /* c8 ignore finish */ + /* c8 ignore stop */ }); it('version', () => { @@ -45,7 +45,7 @@ describe('Version', () => { const { major, minor, patch, preReleaseTag } = versionInfo; expect(version).to.equal( // Can't be verified on all versions - /* c8 ignore next */ + /* c8 ignore next 3 */ preReleaseTag === null ? `${major}.${minor}.${patch}` : `${major}.${minor}.${patch}-${preReleaseTag}`, diff --git a/src/error/GraphQLError.ts b/src/error/GraphQLError.ts index bb00594856..285fe3797c 100644 --- a/src/error/GraphQLError.ts +++ b/src/error/GraphQLError.ts @@ -149,7 +149,7 @@ export class GraphQLError extends Error { configurable: true, }); } - /* c8 ignore finish */ + /* c8 ignore stop */ } get [Symbol.toStringTag](): string { diff --git a/src/execution/mapAsyncIterator.ts b/src/execution/mapAsyncIterator.ts index 09f7c5ec91..82e863c6c0 100644 --- a/src/execution/mapAsyncIterator.ts +++ b/src/execution/mapAsyncIterator.ts @@ -30,7 +30,7 @@ export function mapAsyncIterator( } } throw error; - /* c8 ignore finish */ + /* c8 ignore stop */ } } diff --git a/src/type/__tests__/introspection-test.ts b/src/type/__tests__/introspection-test.ts index 34a32a1dea..741d9c0076 100644 --- a/src/type/__tests__/introspection-test.ts +++ b/src/type/__tests__/introspection-test.ts @@ -1638,7 +1638,7 @@ describe('Introspection', () => { function typeResolver(_1: any, _2: any, info: GraphQLResolveInfo): never { expect.fail(`Called on ${info.parentType.name}::${info.fieldName}`); } - /* c8 ignore finish */ + /* c8 ignore stop */ const result = graphqlSync({ schema, diff --git a/src/utilities/assertValidName.ts b/src/utilities/assertValidName.ts index d47f9427bf..3e66461ae6 100644 --- a/src/utilities/assertValidName.ts +++ b/src/utilities/assertValidName.ts @@ -36,4 +36,4 @@ export function isValidNameError(name: string): GraphQLError | undefined { return error; } } -/* c8 ignore finish */ +/* c8 ignore stop */