Skip to content

Commit f555298

Browse files
committed
test: include compliance checklist in fixtures
1 parent d7a2cd1 commit f555298

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/__tests__/fixtures.ts

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

33
export const mockApiHealthResponse: APIHealthResponse = {
44
status: 'ok',
@@ -93,3 +93,14 @@ export const mockAPIGithubOrgResponse: APIGithubOrgDetails = {
9393
updated_at: new Date().toISOString(),
9494
project_id: 123
9595
}
96+
97+
export const mockAPIChecklistResponse: APIChecklistItem[] = [{
98+
id: 123,
99+
author: 'Ulises Gascón',
100+
title: 'Test Checklist',
101+
description: 'Test checklist description',
102+
code_name: 'test-checklist',
103+
url: 'https://api.visionboard.example.com/checklist/123',
104+
created_at: new Date().toISOString(),
105+
updated_at: new Date().toISOString()
106+
}]

0 commit comments

Comments
 (0)