Skip to content

VACMS-19386 Add Checklist template #2595

VACMS-19386 Add Checklist template

VACMS-19386 Add Checklist template #2595

Triggered via pull request October 25, 2024 21:08
Status Failure
Total duration 1m 25s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 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/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.test.tsx#L90
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: BenefitsHubLink[]; }'.
Setup and Test
Process completed with exit code 2.