Skip to content

Commit

Permalink
fix c8 ignore decorator typos (#3416)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Dec 7, 2021
1 parent 6e48d16 commit 763c149
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/version-test.ts
Expand Up @@ -36,7 +36,7 @@ describe('Version', () => {
default:
expect.fail('Invalid pre-release tag: ' + preReleaseTag);
}
/* c8 ignore finish */
/* c8 ignore stop */
});

it('version', () => {
Expand All @@ -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}`,
Expand Down
2 changes: 1 addition & 1 deletion src/error/GraphQLError.ts
Expand Up @@ -149,7 +149,7 @@ export class GraphQLError extends Error {
configurable: true,
});
}
/* c8 ignore finish */
/* c8 ignore stop */
}

get [Symbol.toStringTag](): string {
Expand Down
2 changes: 1 addition & 1 deletion src/execution/mapAsyncIterator.ts
Expand Up @@ -30,7 +30,7 @@ export function mapAsyncIterator<T, U, R = undefined>(
}
}
throw error;
/* c8 ignore finish */
/* c8 ignore stop */
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/type/__tests__/introspection-test.ts
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion src/utilities/assertValidName.ts
Expand Up @@ -36,4 +36,4 @@ export function isValidNameError(name: string): GraphQLError | undefined {
return error;
}
}
/* c8 ignore finish */
/* c8 ignore stop */

0 comments on commit 763c149

Please sign in to comment.