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

Function setup

__tests__/extract-release-notes.test.ts:18–22  ·  view source on GitHub ↗
(changelog: string)

Source from the content-addressed store, hash-verified

16const MAX_BODY_BYTES = 120_000;
17
18function setup(changelog: string) {
19 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'extract-release-notes-'));
20 fs.writeFileSync(path.join(dir, 'CHANGELOG.md'), changelog);
21 return dir;
22}
23
24function run(cwd: string, version: string) {
25 return execFileSync('node', [SCRIPT, version], {

Callers 1

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected