fix: add missing import and update tests for branch template feature (#799)

* fix: add missing import and update tests for branch template feature

- Add missing `import { $ } from 'bun'` in branch.ts
- Add missing `labels` property to pull-request-target.test.ts fixture
- Update branch-template tests to expect 5-word descriptions

* address review feedback: update comment and add truncation test
This commit is contained in:
Ashwin Bhat authored and GitHub committed 2026-01-08 07:07:54 +05:30
1 parent c247cb152d
commit 1b8ee3b941
4 files changed
+25 -5

No files matched your search

+1
View File
@@ -87,6 +87,7 @@ describe("pull_request_target event support", () => {
},
comments: { nodes: [] },
reviews: { nodes: [] },
labels: { nodes: [] },
},
comments: [],
changedFiles: [],