MCPcopy
hub / github.com/graphql/graphiql / RuleHelpers.test.ts

File RuleHelpers.test.ts

packages/graphql-language-service/src/parser/__tests__/RuleHelpers.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { opt, list, butNot, t, p } from '../RuleHelpers';
2
3describe('opt', () => {
4 it('returns an optional rule', () => {

Callers

nothing calls this directly

Calls 7

optFunction · 0.90
listFunction · 0.90
butNotFunction · 0.90
tFunction · 0.90
pFunction · 0.90
expectFunction · 0.85
tokenFunction · 0.70

Tested by

no test coverage detected