feature-pr-ready
branch
feature branch with 4 commits, clean worktree, ready to open a PR
Description
A feature branch ready to be PR'd. `main` has 3 scaffold commits, `feat/widget-v2` is checked out and 4 commits ahead. Worktree is clean — no staged or unstaged changes. Useful for testing: - create-pr flow (`C` keystroke) — title + body seeded from changelog - changelog view (`L` keystroke) — exercises `--branch main` path - branches view — exercises the feat branch divergence display - history view — exercises commit list rendering on a non-main branch
Contracts
- main has 3 commits
- feat/widget-v2 is checked out
- feat/widget-v2 is 4 commits ahead of main
- worktree is clean
Tags
Branches
feat/widget-v2main Use it
import { spinUpScenario } from '@gfargo/git-scenarios'
const repo = await spinUpScenario('feature-pr-ready') npx git-scenarios create feature-pr-ready import { describeWithScenario } from '@gfargo/git-scenarios/jest'
describeWithScenario('feature-pr-ready', (getRepo) => {
it('should have the expected state', async () => {
const repo = getRepo()
// your assertions here
})
}) Commit graph
* 0d92e8f (HEAD -> feat/widget-v2) docs: document widget-v2 API and migration path
* 7e06c32 test: cover widget-v2 happy path and edge cases
* 4a4ba62 feat: expose widget-v2 from public index
* 7ef2a30 feat: add widget-v2 entry point and types
* 8f8c1d3 (main) test: add baseline widget tests
* 3377978 feat: scaffold widget module
* 51d305e chore: initial commit