@@ -16,16 +16,16 @@ describe('CLI Setup - Non-Interactive Mode', () => {
16
16
// Create a mock Git repository structure
17
17
await fs . mkdir ( '.git' , { recursive : true } )
18
18
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
23
23
[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/*
26
26
[branch "main"]
27
- remote = origin
28
- merge = refs/heads/main`)
27
+ remote = origin
28
+ merge = refs/heads/main`)
29
29
30
30
// Create package.json for project detection
31
31
await fs . writeFile ( 'package.json' , JSON . stringify ( {
@@ -52,7 +52,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
52
52
templates : { } ,
53
53
schedules : {
54
54
dashboard : '0 9 * * 1,3,5' ,
55
- updates : '0 */2 * * *'
55
+ updates : '0 */2 * * *' ,
56
56
} ,
57
57
strategy : 'all' ,
58
58
autoMerge : false ,
@@ -86,7 +86,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
86
86
templates : { } ,
87
87
schedules : {
88
88
dashboard : '0 9 * * 1,3,5' ,
89
- updates : '0 */2 * * *'
89
+ updates : '0 */2 * * *' ,
90
90
} ,
91
91
strategy : 'all' ,
92
92
autoMerge : false ,
@@ -109,7 +109,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
109
109
templates : { } ,
110
110
schedules : {
111
111
dashboard : '0 9 * * 1,3,5' ,
112
- updates : '0 */2 * * *'
112
+ updates : '0 */2 * * *' ,
113
113
} ,
114
114
strategy : 'all' ,
115
115
autoMerge : false ,
@@ -121,6 +121,7 @@ describe('CLI Setup - Non-Interactive Mode', () => {
121
121
// eslint-disable-next-line no-template-curly-in-string
122
122
expect ( workflow ) . toContain ( '${{ secrets.GITHUB_TOKEN }}' )
123
123
// Note: The workflow contains BUDDY_BOT_TOKEN in comments, which is expected
124
+ // eslint-disable-next-line no-template-curly-in-string
124
125
expect ( workflow ) . toContain ( 'GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}' )
125
126
} )
126
127
0 commit comments