Skip to content

Commit 92edc6b

Browse files
committed
chore: wip
1 parent 5f6a448 commit 92edc6b

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

test/cli-non-interactive-integration.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ describe('CLI Non-Interactive Integration Tests', () => {
1616
// Create a mock Git repository structure
1717
await fs.mkdir('.git', { recursive: true })
1818
await fs.writeFile('.git/config', `[remote "origin"]
19-
url = https://github.com/test-user/test-project.git
20-
fetch = +refs/heads/*:refs/remotes/origin/*`)
19+
url = https://github.com/test-user/test-project.git
20+
fetch = +refs/heads/*:refs/remotes/origin/*`)
2121

2222
// Create package.json for project detection
2323
await fs.writeFile('package.json', JSON.stringify({
@@ -167,7 +167,7 @@ describe('CLI Non-Interactive Integration Tests', () => {
167167
templates: {},
168168
schedules: {
169169
dashboard: '0 9 * * 1,3,5',
170-
updates: '0 */2 * * *'
170+
updates: '0 */2 * * *',
171171
},
172172
strategy: 'all',
173173
autoMerge: false,

test/cli-setup-non-interactive.test.ts

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@ describe('CLI Setup - Non-Interactive Mode', () => {
1616
// Create a mock Git repository structure
1717
await fs.mkdir('.git', { recursive: true })
1818
await fs.writeFile('.git/config', `[core]
19-
repositoryformatversion = 0
20-
filemode = true
21-
bare = false
22-
logallrefupdates = true
19+
repositoryformatversion = 0
20+
filemode = true
21+
bare = false
22+
logallrefupdates = true
2323
[remote "origin"]
24-
url = https://github.com/test-org/test-repo.git
25-
fetch = +refs/heads/*:refs/remotes/origin/*
24+
url = https://github.com/test-org/test-repo.git
25+
fetch = +refs/heads/*:refs/remotes/origin/*
2626
[branch "main"]
27-
remote = origin
28-
merge = refs/heads/main`)
27+
remote = origin
28+
merge = refs/heads/main`)
2929

3030
// Create package.json for project detection
3131
await fs.writeFile('package.json', JSON.stringify({
@@ -52,7 +52,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
5252
templates: {},
5353
schedules: {
5454
dashboard: '0 9 * * 1,3,5',
55-
updates: '0 */2 * * *'
55+
updates: '0 */2 * * *',
5656
},
5757
strategy: 'all',
5858
autoMerge: false,
@@ -86,7 +86,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
8686
templates: {},
8787
schedules: {
8888
dashboard: '0 9 * * 1,3,5',
89-
updates: '0 */2 * * *'
89+
updates: '0 */2 * * *',
9090
},
9191
strategy: 'all',
9292
autoMerge: false,
@@ -109,7 +109,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
109109
templates: {},
110110
schedules: {
111111
dashboard: '0 9 * * 1,3,5',
112-
updates: '0 */2 * * *'
112+
updates: '0 */2 * * *',
113113
},
114114
strategy: 'all',
115115
autoMerge: false,
@@ -121,6 +121,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
121121
// eslint-disable-next-line no-template-curly-in-string
122122
expect(workflow).toContain('${{ secrets.GITHUB_TOKEN }}')
123123
// Note: The workflow contains BUDDY_BOT_TOKEN in comments, which is expected
124+
// eslint-disable-next-line no-template-curly-in-string
124125
expect(workflow).toContain('GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}')
125126
})
126127

0 commit comments

Comments
 (0)