chore(deps): update react monorepo to v19 (major) #1418
Annotations
5 errors
Run yarn test:
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": 1126.644115,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1126.63665,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1120.536285,
+ "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",
+
|
Run yarn test:
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": 1126.644115,
+ "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": 1126.644115,
+ "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
|
Run yarn test:
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": 1489.664004,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1489.657051,
+ "alternate": null,
+ "child": FiberNode {
+ "_debugHookTypes": null,
+ "_debugInfo": null,
+ "_debugNeedsRemount": false,
+ "_debugOwner": [Circular],
+ "actualDuration": -0,
+ "actualStartTime": 1485.916099,
+ "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
|
Run yarn test:
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": 1489.664004,
+ "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": 1489.664004,
+ "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,
+
|
Run yarn test
Process completed with exit code 1.
|
Loading