Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix c8 ignore decorator typos #3416

Merged
merged 1 commit into from Dec 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 */