Skip to content

VACMS-19386 Add Checklist template #2599

VACMS-19386 Add Checklist template

VACMS-19386 Add Checklist template #2599

Triggered via pull request October 28, 2024 16:42
Status Failure
Total duration 1m 32s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 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/layouts/checklist/index.test.tsx#L130
Property 'published' is missing in type '{ type: string; id: string; alert: { alertSelection: string; blockReference: { alertType: string; content: string; title: string; }; }; benefitsHubLinks: { uri: string; summary: string; title: string; }[]; ... 8 more ...; title: string; }' but required in type 'PublishedEntity'.
Setup and Test: src/templates/layouts/checklist/index.tsx#L78
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.test.tsx#L86
Type '{ title: string; intro: string; alert: any; buttons: { id: string; label: string; url: string; type: Button["type"]; }[]; repeatButtons: boolean; toc: boolean; mainContent: { id: string; html: string; className: string; type: Wysiwyg["type"]; }[]; ... 6 more ...; published: false; }' is not assignable to type '{ title: string; intro: string; alert: AlertSingle; buttons: Button[]; repeatButtons: boolean; toc: boolean; mainContent: FormattedParagraph[]; tags: AudienceTopics; contactInformation: ContactInfo; benefitsHubLinks: RelatedLink[]; }'.
Setup and Test
Process completed with exit code 2.