mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Update snapshot tests
This commit is contained in:
committed by
Brian Vaughn
parent
91e6daab86
commit
4aded3ba23
@@ -10,6 +10,30 @@ exports[`InspectedElementContext should inspect the currently selected element:
|
||||
"id": 2,
|
||||
"owners": null,
|
||||
"context": null,
|
||||
"events": null,
|
||||
"hooks": [
|
||||
{
|
||||
"id": 0,
|
||||
"isStateEditable": true,
|
||||
"name": "State",
|
||||
"value": 1,
|
||||
"subHooks": []
|
||||
}
|
||||
],
|
||||
"props": {
|
||||
"foo": 1,
|
||||
"bar": "abc"
|
||||
},
|
||||
"state": null
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`InspectedElementContext should inspect the currently selected element: 2: Inspected element 2 2`] = `
|
||||
{
|
||||
"id": 2,
|
||||
"owners": null,
|
||||
"context": null,
|
||||
"events": null,
|
||||
"hooks": [
|
||||
{
|
||||
"id": 0,
|
||||
@@ -59,6 +83,7 @@ exports[`InspectedElementContext should poll for updates for the currently selec
|
||||
"id": 2,
|
||||
"owners": null,
|
||||
"context": null,
|
||||
"events": null,
|
||||
"hooks": null,
|
||||
"props": {
|
||||
"foo": 1,
|
||||
@@ -73,6 +98,7 @@ exports[`InspectedElementContext should poll for updates for the currently selec
|
||||
"id": 2,
|
||||
"owners": null,
|
||||
"context": null,
|
||||
"events": null,
|
||||
"hooks": null,
|
||||
"props": {
|
||||
"foo": 2,
|
||||
|
||||
Reference in New Issue
Block a user