MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / snap

Function snap

__tests__/php-web-root-includes.test.ts:255–255  ·  view source on GitHub ↗
(roots: Record<string, string | null>)

Source from the content-addressed store, hash-verified

253
254describe('phpWebRootsMoved', () => {
255 const snap = (roots: Record<string, string | null>) => phpWebRootSnapshot(null, new Map(Object.entries(roots)));
256
257 it("moves for a folder both snapshots know that takes another root, and for webRoot coming or going", () => {
258 expect(phpWebRootsMoved(snap({ '': null }), snap({ '': '' }))).toBe(true);

Callers 1

Calls 1

phpWebRootSnapshotFunction · 0.90

Tested by

no test coverage detected