MCPcopy
hub / github.com/desktop/desktop / branch-pruner-test.ts

File branch-pruner-test.ts

app/test/unit/branch-pruner-test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it, beforeEach, afterEach } from 'node:test'
2import assert from 'node:assert'
3import { BranchPruner } from '../../src/lib/stores/helpers/branch-pruner'
4import { Repository } from '../../src/models/repository'

Callers

nothing calls this directly

Calls 7

setupFixtureRepositoryFunction · 0.90
setupRepositoryFunction · 0.90
offsetFromNowFunction · 0.90
getBranchesFromGitFunction · 0.85
execFunction · 0.85
runOnceMethod · 0.80
deleteMethod · 0.45

Tested by

no test coverage detected