chore(deps): update react monorepo to v19 (major) #1353
ci.yaml
on: pull_request
test_lint
43s
Matrix: test
deploy_storybook
0s
publish_on_npm
0s
Annotations
5 errors and 2 warnings
src/CheckboxGroup.spec.tsx > CheckboxGroup Component > renders the Checkbox with correct options:
src/CheckboxGroup.spec.tsx#L65
AssertionError: expected "spy" to be called with arguments: [ { id: 'mock-id', …(8) }, {} ]
Received:
1st spy call:
Array [
Object {
"aria-labelledby": undefined,
"disabled": false,
"hintText": "Group Description",
"id": "mock-id",
"legend": "Group Label",
"options": Array [
- ObjectContaining {
+ Object {
"hintText": "Description 1",
- "label": Any<Object>,
- "nativeInputProps": ObjectContaining {
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1225.554251,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1225.543761,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1222.299192,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": "div",
+ "flags": 0,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": Object {
+ "data-testid": "mock-checkbox",
+ },
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": Object {
+ "data-testid": "mock-checkbox",
+ },
+ "ref": null,
+ "refCleanup": null,
+ "return": [Circular],
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": <div
+ data-testid="mock-checkbox"
+ />,
+ "subtreeFlags": 0,
+ "tag": 5,
+ "treeBaseDuration": -0,
+ "type": "div",
+ "updateQueue": null,
+ },
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function spy],
+ "flags": 1,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": [Circular],
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": [Circular],
+ "ref": null,
+ "refCleanup": null,
+ "return": [Circular],
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 0,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function spy],
+ "updateQueue": null,
+ },
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function CheckboxGroup],
+ "flags": 33554433,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": Object {
+ "description": "Group Description",
+ "disabled": false,
+ "id": "my-id",
+ "label": "Group Label",
+ "options": Array [
+ Object {
+ "checked": false,
+ "description": "Description 1",
+
|
src/CheckboxGroup.spec.tsx > CheckboxGroup Component > handles errors:
src/CheckboxGroup.spec.tsx#L129
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…}, {} ]
Received:
1st spy call:
Array [
- ObjectContaining {
+ Object {
+ "aria-labelledby": undefined,
+ "disabled": false,
+ "hintText": "Group Description",
+ "id": "mock-id",
+ "legend": "Group Label",
"options": Array [
- ObjectContaining {
- "nativeInputProps": ObjectContaining {
- "aria-errormessage": "mock-id-messages",
- "aria-invalid": true,
+ Object {
+ "hintText": "Description 1",
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1225.554251,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function CheckboxGroup],
+ "flags": 33554433,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": null,
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": null,
+ "ref": null,
+ "refCleanup": null,
+ "return": null,
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 1,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function CheckboxGroup],
+ "updateQueue": null,
+ },
+ "_store": Object {},
+ "key": null,
+ "props": Object {
+ "children": "Option 1",
+ },
+ "type": "div",
+ },
+ "nativeInputProps": Object {
+ "checked": false,
+ "name": "option1",
+ "onChange": [Function onChange],
},
},
+ Object {
+ "hintText": "Description 2",
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1225.554251,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function CheckboxGroup],
+ "flags": 33554433,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": null,
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": null,
+ "ref": null,
+ "refCleanup": null,
+ "return": null,
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 1,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function CheckboxGroup],
+ "updateQueue": null,
+ },
+ "_store": Object {},
+ "key": null,
+ "props": Object {
+ "children": "Option 2",
+ },
+ "type": "div",
+ },
+ "nativeInputProps": Object {
+ "checked": true,
+ "name": "option2",
+ "onChange": [Function onChange],
+ },
+ },
],
- "state": "error",
- "stateRelatedMessage": "Error message",
+ "orientation": "vertical",
+ "state": "default",
+ "stateRelatedMessage": undefined,
},
- Object {},
+ undefined,
]
2nd spy call:
Array [
- ObjectContaining {
+ Object {
+ "aria-labelledby": undefined,
+ "disabled": false,
+ "hintText": "Group
|
src/RadioGroup.spec.tsx > RadioGroup Component > renders the radio buttons correctly:
src/RadioGroup.spec.tsx#L61
AssertionError: expected "spy" to be called with arguments: [ { id: 'mock-id', …(8) }, {} ]
Received:
1st spy call:
Array [
Object {
"aria-labelledby": undefined,
"disabled": undefined,
"hintText": "Group Description",
"id": "mock-id",
"legend": "Group Label",
"options": Array [
- ObjectContaining {
+ Object {
"hintText": "Description 1",
- "label": Any<Object>,
- "nativeInputProps": ObjectContaining {
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": Array [
+ "useContext",
+ ],
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1563.344908,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1563.337604,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1558.237274,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": "div",
+ "flags": 0,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": Object {
+ "data-testid": "radio-buttons",
+ },
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": Object {
+ "data-testid": "radio-buttons",
+ },
+ "ref": null,
+ "refCleanup": null,
+ "return": [Circular],
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": <div
+ data-testid="radio-buttons"
+ />,
+ "subtreeFlags": 0,
+ "tag": 5,
+ "treeBaseDuration": -0,
+ "type": "div",
+ "updateQueue": null,
+ },
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function spy],
+ "flags": 1,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": [Circular],
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": [Circular],
+ "ref": null,
+ "refCleanup": null,
+ "return": [Circular],
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 0,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function spy],
+ "updateQueue": null,
+ },
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": Object {
+ "_debugThenableState": null,
+ "firstContext": Object {
+ "context": Object {
+ "$$typeof": Symbol(react.context),
+ "Consumer": Object {
+ "$$typeof": Symbol(react.consumer),
+ "_context": [Circular],
+ },
+ "Provider": [Circular],
+ "_currentRenderer": null,
+ "_currentRenderer2": nu
|
src/RadioGroup.spec.tsx > RadioGroup Component > handles errors:
src/RadioGroup.spec.tsx#L123
AssertionError: expected "spy" to be called with arguments: [ ObjectContaining{…}, {} ]
Received:
1st spy call:
Array [
- ObjectContaining {
+ Object {
+ "aria-labelledby": undefined,
+ "disabled": undefined,
+ "hintText": "Group Description",
+ "id": "mock-id",
+ "legend": "Group Label",
"options": Array [
- ObjectContaining {
- "nativeInputProps": ObjectContaining {
- "aria-errormessage": "mock-id-messages",
- "aria-invalid": true,
+ Object {
+ "hintText": "Description 1",
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": Array [
+ "useContext",
+ ],
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1563.344908,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function RadioGroup],
+ "flags": 34078721,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": null,
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": null,
+ "ref": null,
+ "refCleanup": null,
+ "return": null,
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 1,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function RadioGroup],
+ "updateQueue": null,
+ },
+ "_store": Object {},
+ "key": null,
+ "props": Object {
+ "children": "Option 1",
+ },
+ "type": "div",
+ },
+ "nativeInputProps": Object {
+ "checked": false,
+ "onChange": [Function spy],
},
},
+ Object {
+ "hintText": "Description 2",
+ "label": Object {
+ "$$typeof": Symbol(react.transitional.element),
+ "_owner": FiberNode {
+ "_debugHookTypes": Array [
+ "useContext",
],
- "state": "error",
- "stateRelatedMessage": "Error message",
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": null,
+ "actualDuration": -0,
+ "actualStartTime": 1563.344908,
+ "alternate": null,
+ "child": null,
+ "childLanes": 0,
+ "deletions": null,
+ "dependencies": null,
+ "elementType": [Function RadioGroup],
+ "flags": 34078721,
+ "index": 0,
+ "key": null,
+ "lanes": 0,
+ "memoizedProps": null,
+ "memoizedState": null,
+ "mode": 1,
+ "pendingProps": null,
+ "ref": null,
+ "refCleanup": null,
+ "return": null,
+ "selfBaseDuration": -0,
+ "sibling": null,
+ "stateNode": null,
+ "subtreeFlags": 1,
+ "tag": 0,
+ "treeBaseDuration": -0,
+ "type": [Function RadioGroup],
+ "updateQueue": null,
},
- Object {},
+ "_store": Object {},
+ "key": null,
+ "props": Object {
+ "children": "Option 2",
+ },
+ "type": "div",
+ },
+ "nativeInputProps": Object {
+ "checked": true,
+ "onChange": [Function spy],
+ },
+ },
+ ],
+ "orientation": "vertical",
+ "state": "default",
+ "stateRelatedMessage": undefined,
+ },
+ undefined,
]
2nd spy call:
Array [
- ObjectContaining {
+ Object {
+ "aria-labelledby": undefined,
+ "disabled": undefined,
+
|
Test with Node v20 on ubuntu-latest
Process completed with exit code 1.
|
test_lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test with Node v20 on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|