@@ -221,7 +221,7 @@ describe("setupClaudeCodeSettings", () => {
221221 const projectDir = join ( testHomeDir , "test-project" ) ;
222222 const projectAgentsDir = join ( projectDir , ".claude" , "agents" ) ;
223223 await mkdir ( projectAgentsDir , { recursive : true } ) ;
224-
224+
225225 // Create test agent files
226226 await writeFile (
227227 join ( projectAgentsDir , "test-agent.md" ) ,
@@ -231,20 +231,20 @@ describe("setupClaudeCodeSettings", () => {
231231 join ( projectAgentsDir , "another-agent.md" ) ,
232232 "---\nname: another-agent\n---\nAnother agent" ,
233233 ) ;
234-
234+
235235 // Set GITHUB_WORKSPACE to the test project directory
236236 const originalWorkspace = process . env . GITHUB_WORKSPACE ;
237237 process . env . GITHUB_WORKSPACE = projectDir ;
238-
238+
239239 try {
240240 await setupClaudeCodeSettings ( undefined , testHomeDir ) ;
241-
241+
242242 // Check that agents were copied
243243 const agentsDir = join ( testHomeDir , ".claude" , "agents" ) ;
244244 const files = await readdir ( agentsDir ) ;
245245 expect ( files ) . toContain ( "test-agent.md" ) ;
246246 expect ( files ) . toContain ( "another-agent.md" ) ;
247-
247+
248248 // Verify content was copied correctly
249249 const content = await readFile ( join ( agentsDir , "test-agent.md" ) , "utf-8" ) ;
250250 expect ( content ) . toContain ( "Test agent content" ) ;
@@ -262,13 +262,13 @@ describe("setupClaudeCodeSettings", () => {
262262 // Set GITHUB_WORKSPACE to a directory without .claude/agents
263263 const projectDir = join ( testHomeDir , "project-without-agents" ) ;
264264 await mkdir ( projectDir , { recursive : true } ) ;
265-
265+
266266 const originalWorkspace = process . env . GITHUB_WORKSPACE ;
267267 process . env . GITHUB_WORKSPACE = projectDir ;
268-
268+
269269 try {
270270 await setupClaudeCodeSettings ( undefined , testHomeDir ) ;
271-
271+
272272 // Should complete without errors
273273 const settingsContent = await readFile ( settingsPath , "utf-8" ) ;
274274 const settings = JSON . parse ( settingsContent ) ;
0 commit comments