Skip to content

VACMS-19386 Add Checklist template #2594

VACMS-19386 Add Checklist template

VACMS-19386 Add Checklist template #2594

Triggered via pull request October 25, 2024 17:51
Status Failure
Total duration 1m 35s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Setup and Test: src/data/queries/tests/checklist.test.tsx#L10
Type '{ type: string; id: string; drupal_internal__nid: number; drupal_internal__vid: number; langcode: string; revision_timestamp: string; status: boolean; title: string; created: string; changed: string; ... 30 more ...; relationshipNames: string[]; }' is not assignable to type 'NodeChecklist'.
Setup and Test: src/data/queries/tests/checklistItem.test.tsx#L9
Type '{ type: string; id: string; links: { self: { href: string; }; }; drupal_internal__id: number; drupal_internal__revision_id: number; langcode: string; status: boolean; created: string; parent_id: string; ... 12 more ...; relationships: { ...; }; }' is not assignable to type 'ChecklistItem'.
Setup and Test: src/data/queries/tests/checklistItem.test.tsx#L14
Argument of type 'ChecklistItem' is not assignable to parameter of type 'ParagraphChecklistItem'.
Setup and Test: src/templates/common/benefitsHubLinks/index.test.tsx#L28
Type '{ title: string; links: { id: string; path: string; title: string; label: string; teaserText: string; }[]; }' is missing the following properties from type 'BenefitsHubLink[]': length, pop, push, concat, and 35 more.
Setup and Test: src/templates/components/contactInfo/contactInfo.stories.ts#L51
Type '"paragraph--email_contact"' is not assignable to type '"paragraph--phone_number"'.
Setup and Test: src/templates/components/contactInfo/index.test.tsx#L31
Type '"paragraph--email_contact"' is not assignable to type '"paragraph--phone_number"'.
Setup and Test: src/templates/components/contactInfo/index.tsx#L156
Type '{ title: string; value: string; href: string; } | { id: string; type: "paragraph--phone_number"; entityId?: number; label: string; number: string; extension: string; }' is not assignable to type 'IntrinsicAttributes & (EmailContact | PhoneContact)'.
Setup and Test: src/templates/layouts/checklist/index.test.tsx#L134
Property 'published' is missing in type '{ type: string; id: string; alert: { alertSelection: string; blockReference: { alertType: string; content: string; title: string; }; }; benefitsHubLinks: { id: string; label: string; path: string; teaserText: string; title: string; }[]; ... 8 more ...; title: string; }' but required in type 'PublishedEntity'.
Setup and Test: src/templates/layouts/checklist/index.tsx#L79
Property 'id' is missing in type '{ additionalContact: AdditionalContact; benefitHubContacts: Contact[]; contactType: "DC" | "BHC"; defaultContact: Contact; }' but required in type 'Omit<ContactInfo, "type">'.
Setup and Test: src/templates/layouts/resourcesSupport/index.tsx#L106
Type '{ title: string; links: BenefitsHubLink[]; }' is not assignable to type 'IntrinsicAttributes & BenefitsHubLinks'.