MCPcopy
hub / github.com/ardatan/graphql-tools / toEqual

Function toEqual

packages/executor/src/execution/__tests__/abstract-test.ts:588–599  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

586 const result = executeSync({ schema, document, rootValue });
587 return {
588 toEqual(message: string) {
589 expectJSON(result).toDeepEqual({
590 data: { pet: null },
591 errors: [
592 {
593 message,
594 locations: [{ line: 3, column: 9 }],
595 path: ['pet'],
596 },
597 ],
598 });
599 },
600 };
601 }
602

Callers

nothing calls this directly

Calls 1

expectJSONFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…