| Test |
Duration |
Result |
| checkout creates a tracking branch from origin |
0.092s |
passed |
| checkout switches to an existing local branch |
0.047s |
passed |
| checkoutDetached switches a worktree to another commit and discards local modifications |
0.048s |
passed |
| commitTimestamp returns the committer timestamp |
0.052s |
passed |
| currentBranch returns null when HEAD is detached |
0.036s |
passed |
| fastForwardLocalBranches advances a branch that is not checked out |
0.127s |
passed |
| fastForwardLocalBranches advances the checked-out branch and its working tree |
0.124s |
passed |
| fastForwardLocalBranches ignores branches without an origin counterpart |
0.045s |
passed |
| fastForwardLocalBranches leaves a diverged local branch untouched |
0.081s |
passed |
| fetchOrigin picks up new origin branches and prunes deleted ones |
0.093s |
passed |
| getOriginUrl returns the origin URL, or null without an origin |
0.066s |
passed |
| getTopLevel returns the repo root from a subdirectory |
0.274s |
passed |
| hasNewCommits is false for an unknown branch |
0.045s |
passed |
| hasNewCommits is false when the branch is up to date |
0.041s |
passed |
| hasNewCommits is true after new commits arrived on origin |
0.064s |
passed |
| hasNewCommits is true for a branch that only exists on origin |
0.066s |
passed |
| headCommit returns the full commit hash |
0.037s |
passed |
| localBranches and originBranches list branches, without HEAD |
0.124s |
passed |
| localHeadCommit returns the local branch head, or null for an unknown branch |
0.041s |
passed |
| newOriginBranches lists recent origin-only branches |
0.070s |
passed |
| newOriginBranches skips branches whose latest commit is older than maxAge |
0.067s |
passed |
| originBranchHeads maps every origin branch to its head commit, without HEAD |
0.145s |
passed |
| originHeadCommit returns the origin branch head, or null for an unknown branch |
0.037s |
passed |
| pullRequestHeads returns the head commits of the remote's pull-request refs |
0.098s |
passed |
| resetHardToOrigin discards local commits |
0.044s |
passed |
| worktreeAdd creates a detached worktree at the commit |
0.039s |
passed |
| worktreePrune allows re-adding a worktree whose directory was deleted |
0.050s |
passed |