mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-03-18 22:33:08 +00:00
feat: Add process abort control and improve auth detection
This commit is contained in:
@@ -5,6 +5,17 @@ import { collectAsyncGenerator } from '../../utils/helpers.js';
|
||||
|
||||
vi.mock('@anthropic-ai/claude-agent-sdk');
|
||||
|
||||
vi.mock('@automaker/platform', () => ({
|
||||
getClaudeAuthIndicators: vi.fn().mockResolvedValue({
|
||||
hasCredentialsFile: false,
|
||||
hasSettingsFile: false,
|
||||
hasStatsCacheWithActivity: false,
|
||||
hasProjectsSessions: false,
|
||||
credentials: null,
|
||||
checks: {},
|
||||
}),
|
||||
}));
|
||||
|
||||
describe('claude-provider.ts', () => {
|
||||
let provider: ClaudeProvider;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user