Skip to content

Commit 5edb3ab

Browse files
committed
test: include workflow execution in fixtures
1 parent 84c8b77 commit 5edb3ab

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

src/__tests__/fixtures.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { APIHealthResponse, APIProjectDetails, APIGithubOrgDetails, APIChecklistItem, APICheckItem, APIWorkflowItem } from '../types.js'
1+
import { APIHealthResponse, APIProjectDetails, APIGithubOrgDetails, APIChecklistItem, APICheckItem, APIWorkflowItem, APIWorkflowRunItem } from '../types.js'
22

33
export const mockApiHealthResponse: APIHealthResponse = {
44
status: 'ok',
@@ -130,3 +130,11 @@ export const mockAPIWorkflowResponse: APIWorkflowItem[] = [{
130130
operations: null,
131131
schema: null
132132
}]
133+
134+
export const mockAPIWorkflowRunResponse: APIWorkflowRunItem = {
135+
status: 'completed',
136+
started: '2025-06-21T10:05:00.000Z',
137+
finished: '2025-06-21T10:05:02.500Z',
138+
completed: '2025-06-21T10:05:02.500Z',
139+
result: { success: true, message: 'Workflow completed successfully' }
140+
}

0 commit comments

Comments
 (0)