Skip to content

feat(Select): valueDisplay and collapsibleItems params expanded options #4137

feat(Select): valueDisplay and collapsibleItems params expanded options

feat(Select): valueDisplay and collapsibleItems params expanded options #4137

Triggered via pull request November 8, 2024 19:09
Status Failure
Total duration 4m 39s
Artifacts 2

pull-request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
src/select-input/__tests__/vitest-select-input.test.jsx > SelectInput Component > props.collapsedItems works fine: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/select-input/__tests__/vitest-select-input.test.jsx > SelectInput Component > props.collapsedItems is a function with params: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tag-input/__tests__/vitest-tag-input.test.jsx > TagInput Component > props.collapsedItems works fine: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tag-input/__tests__/vitest-tag-input.test.jsx > TagInput Component > props.minCollapsedNum works fine. `{".t-tag":4}` should exist: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tag-input/__tests__/vitest-tag-input.test.jsx > TagInput Component > props.tagProps should effect collapsed tag: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tree-select/__tests__/vitest-tree-select.test.jsx > TreeSelect Component > props.collapsedItems works fine: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tree-select/__tests__/vitest-tree-select.test.jsx > TreeSelect Component > props.collapsedItems is a function with params: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
src/tree-select/__tests__/vitest-tree-select.test.jsx > TreeSelect Component > props.minCollapsedNum works fine. `{".t-tag":3,".t-tag:last-child":{"text":"+3"}}` should exist: src/tag-input/useTagList.tsx#L108
TypeError: Cannot read properties of undefined (reading 'slice') ❯ renderLabel src/tag-input/useTagList.tsx:108:47 ❯ src/tag-input/TagInput.tsx:153:14 ❯ renderWithHooks node_modules/react-dom/cjs/react-dom.development.js:15486:18 ❯ updateForwardRef node_modules/react-dom/cjs/react-dom.development.js:19245:20 ❯ beginWork node_modules/react-dom/cjs/react-dom.development.js:21675:16 ❯ beginWork$1 node_modules/react-dom/cjs/react-dom.development.js:27465:14 ❯ performUnitOfWork node_modules/react-dom/cjs/react-dom.development.js:26599:12 ❯ workLoopSync node_modules/react-dom/cjs/react-dom.development.js:26505:5 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26473:7 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25889:20
call-test-build / test
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
_site Expired
3.17 MB
pr
139 Bytes