Skip to content

BpkCardList

BpkCardList #1639

Triggered via pull request March 11, 2024 13:16
Status Failure
Total duration 4m 10s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
Build / Build: packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
Build / Build: packages/bpk-component-card-list/src/BpkCardListGrid/BpkCardListGrid-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
Build / Build: packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L28
Type '{ children: Element[]; accessory: "expand"; expandText: string; showContent: Mock<any, any, any>; hideContent: Mock<any, any, any>; collapsed: true; setCollapsed: Mock<...>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
Build / Build: packages/bpk-component-card-list/src/BpkCardListStack/BpkCardListStack-test.tsx#L46
Type '{ children: Element[]; accessory: "button"; expandText: string; onButtonClick: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & BpkCardListGridStackProps'.
Build / Build: packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L31
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
Build / Build: packages/bpk-component-card-list/src/BpkExpand/BpkExpand-test.tsx#L50
'BpkExpand' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of 'children' is 'ReactElement<any, string | JSXElementConstructor<any>>'.
Build / Build
Process completed with exit code 2.
StorybookDeploy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: peaceiris/actions-gh-pages@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.