Skip to content

chore(deps-dev): bump the vitest group with 4 updates #37565

chore(deps-dev): bump the vitest group with 4 updates

chore(deps-dev): bump the vitest group with 4 updates #37565

Triggered via pull request December 31, 2025 01:27
Status Failure
Total duration 4m 45s
Artifacts

ci.yml

on: pull_request
Matrix: examples
Matrix: test
Matrix: type-check
Fit to window
Zoom out
Zoom in

Annotations

60 errors
examples (react-19)
'LeadingVisual' cannot be used as a JSX component.
examples (react-19)
JSX element type 'LeadingVisual' does not have any construct or call signatures.
examples (react-19)
'menuButtonChild.props' is of type 'unknown'.
examples (react-19)
Unused '@ts-expect-error' directive.
examples (react-19)
No overload matches this call.
examples (react-19)
Unused '@ts-expect-error' directive.
examples (react-19)
Expected 1 arguments, but got 0.
examples (react-19)
Expected 1 arguments, but got 0.
examples (react-19)
Expected 1 arguments, but got 0.
examples (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
JSX element type 'LeadingVisual' does not have any construct or call signatures.
type-check (react-19)
Type 'RefObject<HTMLElement | null>' is not assignable to type 'RefObject<HTMLElement>'.
type-check (react-19)
'menuButtonChild.props' is of type 'unknown'.
type-check (react-19)
Unused '@ts-expect-error' directive.
type-check (react-19)
No overload matches this call.
type-check (react-19)
Unused '@ts-expect-error' directive.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
JSX element type 'LeadingVisual' does not have any construct or call signatures.
type-check (react-19)
'menuButtonChild.props' is of type 'unknown'.
type-check (react-19)
Unused '@ts-expect-error' directive.
type-check (react-19)
No overload matches this call.
type-check (react-19)
Unused '@ts-expect-error' directive.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
Expected 1 arguments, but got 0.
type-check (react-19)
@primer/react#build: command (/home/runner/work/react/react/packages/react) /opt/hostedtoolcache/node/24.12.0/x64/bin/npm run build exited (2)
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > does nothing on a root-level end item: packages/react/src/TreeView/TreeView.test.tsx#L598
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:598:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > does nothing on a root-level collapsed item: packages/react/src/TreeView/TreeView.test.tsx#L571
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Parent" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:571:25
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > collapses an expanded item: packages/react/src/TreeView/TreeView.test.tsx#L530
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Parent" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:530:25
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowUp > moves focus to the previous visible treeitem: packages/react/src/TreeView/TreeView.test.tsx#L472
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item 1" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:472:20
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowDown > moves focus to the next visible treeitem: packages/react/src/TreeView/TreeView.test.tsx#L415
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item 1" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:415:20
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should move focus to first treeitem when focusing back in after clicking on a treeitem's secondary action: packages/react/src/TreeView/TreeView.test.tsx#L371
TestingLibraryElementError: Unable to find an element with the text: /Link in Item 2/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByText src/TreeView/TreeView.test.tsx:371:24
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should toggle when receiving focus from chevron click: packages/react/src/TreeView/TreeView.test.tsx#L331
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/Focusable element/` There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:331:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should move focus to current treeitem by default: packages/react/src/TreeView/TreeView.test.tsx#L292
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/Focusable element/` There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:292:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should render with containIntrinsicSize: packages/react/src/TreeView/TreeView.test.tsx#L270
TestingLibraryElementError: Unable to find an element with the text: /Child/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByText src/TreeView/TreeView.test.tsx:270:22
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should include `aria-expanded` when a SubTree contains content: packages/react/src/TreeView/TreeView.test.tsx#L218
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ it src/TreeView/TreeView.test.tsx:218:2
test (react-19)
JSX element type 'LeadingVisual' does not have any construct or call signatures.
test (react-19)
'menuButtonChild.props' is of type 'unknown'.
test (react-19)
Unused '@ts-expect-error' directive.
test (react-19)
@primer/react#build: command (/home/runner/work/react/react/packages/react) /opt/hostedtoolcache/node/24.12.0/x64/bin/npm run build exited (2)
test (react-19)
No overload matches this call.
test (react-19)
Unused '@ts-expect-error' directive.
test (react-19)
Expected 1 arguments, but got 0.
test (react-19)
Expected 1 arguments, but got 0.
test (react-19)
Expected 1 arguments, but got 0.
test (react-19)
Expected 1 arguments, but got 0.
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > does nothing on a root-level end item: packages/react/src/TreeView/TreeView.test.tsx#L598
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:598:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > does nothing on a root-level collapsed item: packages/react/src/TreeView/TreeView.test.tsx#L571
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Parent" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:571:25
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowLeft > collapses an expanded item: packages/react/src/TreeView/TreeView.test.tsx#L530
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Parent" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:530:25
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowUp > moves focus to the previous visible treeitem: packages/react/src/TreeView/TreeView.test.tsx#L472
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item 1" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:472:20
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Keyboard interactions > ArrowDown > moves focus to the next visible treeitem: packages/react/src/TreeView/TreeView.test.tsx#L415
TestingLibraryElementError: Unable to find an accessible element with the role "treeitem" and name "Item 1" There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:415:20
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should move focus to first treeitem when focusing back in after clicking on a treeitem's secondary action: packages/react/src/TreeView/TreeView.test.tsx#L371
TestingLibraryElementError: Unable to find an element with the text: /Link in Item 2/i. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByText src/TreeView/TreeView.test.tsx:371:24
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should toggle when receiving focus from chevron click: packages/react/src/TreeView/TreeView.test.tsx#L331
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/Focusable element/` There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:331:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should move focus to current treeitem by default: packages/react/src/TreeView/TreeView.test.tsx#L292
TestingLibraryElementError: Unable to find an accessible element with the role "button" and name `/Focusable element/` There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByRole src/TreeView/TreeView.test.tsx:292:19
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should render with containIntrinsicSize: packages/react/src/TreeView/TreeView.test.tsx#L270
TestingLibraryElementError: Unable to find an element with the text: /Child/. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, script, style <body> <live-region /> <div /> </body> ❯ getByText src/TreeView/TreeView.test.tsx:270:22
[@primer/react (chromium)] src/TreeView/TreeView.test.tsx > Markup > should include `aria-expanded` when a SubTree contains content: packages/react/src/TreeView/TreeView.test.tsx#L218
Error: Test timed out in 15000ms. If this is a long-running test, pass a timeout value as the last argument or configure it globally with "testTimeout". ❯ it src/TreeView/TreeView.test.tsx:218:2