style: fix prettier formatting in github-ci and scheduler tests
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -5,25 +5,24 @@ const {
|
||||
writeTasksSnapshotMock,
|
||||
loggerDebugMock,
|
||||
checkGitHubActionsRunMock,
|
||||
} =
|
||||
vi.hoisted(() => ({
|
||||
runAgentProcessMock: vi.fn(async () => ({
|
||||
status: 'success' as const,
|
||||
result: 'done',
|
||||
})),
|
||||
writeTasksSnapshotMock: vi.fn(),
|
||||
loggerDebugMock: vi.fn(),
|
||||
checkGitHubActionsRunMock: vi.fn(
|
||||
async (): Promise<{
|
||||
terminal: boolean;
|
||||
resultSummary: string;
|
||||
completionMessage?: string;
|
||||
}> => ({
|
||||
terminal: false,
|
||||
resultSummary: 'GitHub Actions run 123 is in_progress',
|
||||
}),
|
||||
),
|
||||
}));
|
||||
} = vi.hoisted(() => ({
|
||||
runAgentProcessMock: vi.fn(async () => ({
|
||||
status: 'success' as const,
|
||||
result: 'done',
|
||||
})),
|
||||
writeTasksSnapshotMock: vi.fn(),
|
||||
loggerDebugMock: vi.fn(),
|
||||
checkGitHubActionsRunMock: vi.fn(
|
||||
async (): Promise<{
|
||||
terminal: boolean;
|
||||
resultSummary: string;
|
||||
completionMessage?: string;
|
||||
}> => ({
|
||||
terminal: false,
|
||||
resultSummary: 'GitHub Actions run 123 is in_progress',
|
||||
}),
|
||||
),
|
||||
}));
|
||||
|
||||
vi.mock('./provider-fallback.js', () => ({
|
||||
detectFallbackTrigger: vi.fn((error?: string | null) => {
|
||||
|
||||
Reference in New Issue
Block a user