forked from claude-did-this/claude-hub
- Add mock for secureCredentials - Add mock for logger - Add mock for child_process - Fix claudeService.test.js to use proper mocks - Ensure all mocks use clearly fake test credentials
10 lines
185 B
JavaScript
10 lines
185 B
JavaScript
/**
|
|
* Mock child_process for testing
|
|
*/
|
|
|
|
module.exports = {
|
|
execFileSync: jest.fn().mockReturnValue('mocked output'),
|
|
execFile: jest.fn(),
|
|
exec: jest.fn(),
|
|
spawn: jest.fn()
|
|
}; |