MCPcopy Create free account
hub / github.com/TanStack/query / Graph

Function Graph

packages/query-core/src/__tests__/utils.test.tsx:96–99  ·  view source on GitHub ↗
(this: any)

Source from the content-addressed store, hash-verified

94
95 it('should return `false` if the object has a modified prototype', () => {
96 function Graph(this: any) {
97 this.vertices = []
98 this.edges = []
99 }
100
101 Graph.prototype.addVertex = function (v: any) {
102 this.vertices.push(v)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected