Skip to content

Commit d730a68

Browse files
committed
chore: adjust title
1 parent 389a319 commit d730a68

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/pr/pr-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class PullRequestGenerator {
8282
let body = `This PR contains the following updates:\n\n`
8383

8484
// Add summary table (always show for clarity)
85-
body += `## 📦 Package Updates Summary\n\n`
85+
body += `## Package Updates Summary\n\n`
8686
body += `| Type | Count |\n`
8787
body += `|------|-------|\n`
8888
if (packageJsonCount > 0)

test/pr-body-major-updates.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe('PR Body Generation for Major Updates', () => {
3737
// | 📦 NPM Packages | 1 |
3838
// | **Total** | **1** |
3939

40-
expect(body).toContain('## 📦 Package Updates Summary')
40+
expect(body).toContain('## Package Updates Summary')
4141
expect(body).toContain('| 📦 NPM Packages | 1 |')
4242
expect(body).toContain('| **Total** | **1** |')
4343

@@ -60,7 +60,7 @@ describe('PR Body Generation for Major Updates', () => {
6060
expect(body).toContain('### Configuration')
6161

6262
// Verify it's not the broken minimal version
63-
expect(body).not.toMatch(/^This PR contains the following updates:\s*## 📦 Package Updates Summary\s*\| Type \| Count \|\s*\|------\|-------\|\s*\| \*\*Total\*\* \| \*\*1\*\* \|\s*---\s*### Release Notes\s*---/)
63+
expect(body).not.toMatch(/^This PR contains the following updates:\s*## Package Updates Summary\s*\| Type \| Count \|\s*\|------\|-------\|\s*\| \*\*Total\*\* \| \*\*1\*\* \|\s*---\s*### Release Notes\s*---/)
6464
})
6565

6666
it('should match Renovate-style format for major updates', async () => {

test/pr-generator.test.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ describe('PullRequestGenerator', () => {
9494
const body = await generator.generateBody(singleNpmUpdate)
9595

9696
// Should include package summary table
97-
expect(body).toContain('## 📦 Package Updates Summary')
97+
expect(body).toContain('## Package Updates Summary')
9898
expect(body).toContain('| Type | Count |')
9999
expect(body).toContain('| 📦 NPM Packages | 1 |')
100100
expect(body).toContain('| **Total** | **1** |')
@@ -204,7 +204,7 @@ describe('PullRequestGenerator', () => {
204204
const body = await generator.generateBody(singleComposerUpdate)
205205

206206
// Should include package summary table
207-
expect(body).toContain('## 📦 Package Updates Summary')
207+
expect(body).toContain('## Package Updates Summary')
208208
expect(body).toContain('| 🎼 Composer Packages | 1 |')
209209

210210
// Should include detailed Composer dependencies section
@@ -236,7 +236,7 @@ describe('PullRequestGenerator', () => {
236236
const body = await generator.generateBody(singleSystemUpdate)
237237

238238
// Should include package summary table
239-
expect(body).toContain('## 📦 Package Updates Summary')
239+
expect(body).toContain('## Package Updates Summary')
240240
expect(body).toContain('| 🔧 System Dependencies | 1 |')
241241

242242
// Should include detailed system dependencies section
@@ -267,7 +267,7 @@ describe('PullRequestGenerator', () => {
267267
const body = await generator.generateBody(singleActionUpdate)
268268

269269
// Should include package summary table
270-
expect(body).toContain('## 📦 Package Updates Summary')
270+
expect(body).toContain('## Package Updates Summary')
271271
expect(body).toContain('| 🚀 GitHub Actions | 1 |')
272272

273273
// Should include detailed GitHub Actions section
@@ -312,7 +312,7 @@ describe('PullRequestGenerator', () => {
312312

313313
// Check that key sections exist in the right order
314314
const introIndex = body.indexOf('This PR contains the following updates:')
315-
const summaryIndex = body.indexOf('## 📦 Package Updates Summary')
315+
const summaryIndex = body.indexOf('## Package Updates Summary')
316316
const npmIndex = body.indexOf('## 📦 npm Dependencies')
317317
const releaseNotesIndex = body.indexOf('### Release Notes')
318318
const configIndex = body.indexOf('### Configuration')

0 commit comments

Comments
 (0)