MCPcopy Create free account
hub / github.com/backnotprop/plannotator / pr-github.test.ts

File pr-github.test.ts

packages/shared/pr-github.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, test, spyOn } from "bun:test";
2import { fetchGhPR, reconstructGhPatch, type GitHubFileEntry } from "./pr-github";
3import { parseDiffGitHeader, parseDiffFilePathLines, parseDiffMetadataPathLines } from "./diff-paths";
4import type { PRRuntime } from "./pr-types";

Callers

nothing calls this directly

Calls 7

fetchGhPRFunction · 0.90
reconstructGhPatchFunction · 0.90
parseDiffGitHeaderFunction · 0.90
parseDiffFilePathLinesFunction · 0.90
githubRuntimeFunction · 0.85
parseMethod · 0.80

Tested by

no test coverage detected