Skip to content

Commit de7c04c

Browse files
PR feedback: fix formatting in integrate.test.ts
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 0a62fb0 commit de7c04c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

tests/unit/integrate.test.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,18 @@ describe('integrateCommand: full flow', () => {
296296
skipHooks: false,
297297
});
298298
expect(mockExit).toHaveBeenCalledWith(0);
299-
expect(addInstalledHookSpy).toHaveBeenCalledWith(expect.anything(), 'claude-code', 'sonar-secrets', 'PreToolUse');
300-
expect(addInstalledHookSpy).toHaveBeenCalledWith(expect.anything(), 'claude-code', 'sonar-secrets', 'UserPromptSubmit');
299+
expect(addInstalledHookSpy).toHaveBeenCalledWith(
300+
expect.anything(),
301+
'claude-code',
302+
'sonar-secrets',
303+
'PreToolUse',
304+
);
305+
expect(addInstalledHookSpy).toHaveBeenCalledWith(
306+
expect.anything(),
307+
'claude-code',
308+
'sonar-secrets',
309+
'UserPromptSubmit',
310+
);
301311
} finally {
302312
discoverSpy.mockRestore();
303313
healthSpy.mockRestore();

0 commit comments

Comments
 (0)