Update snapshot tests
Dominic Gannaway committed
May 22, 2019 at 15:30 UTC
70084e881ba5563289c335594a18ee7388e40a0d
1 file changed
+26
src/__tests__/__snapshots__/inspectedElementContext-test.js.snap
+26
@@ -10,6 +10,30 @@ exports[`InspectedElementContext should inspect the currently selected element:
10
"id": 2,
11
"owners": null,
12
"context": null,
13
+ "events": null,
14
+ "hooks": [
15
+ {
16
+ "id": 0,
17
+ "isStateEditable": true,
18
+ "name": "State",
19
+ "value": 1,
20
+ "subHooks": []
21
+ }
22
+ ],
23
+ "props": {
24
+ "foo": 1,
25
+ "bar": "abc"
26
+ },
27
+ "state": null
28
+}
29
+`;
30
+
31
+exports[`InspectedElementContext should inspect the currently selected element: 2: Inspected element 2 2`] = `
32
+{
33
+ "id": 2,
34
+ "owners": null,
35
+ "context": null,
36
+ "events": null,
37
"hooks": [
38
{
39
"id": 0,
@@ -59,6 +83,7 @@ exports[`InspectedElementContext should poll for updates for the currently selec
83
"id": 2,
84
"owners": null,
85
"context": null,
86
+ "events": null,
87
"hooks": null,
88
"props": {
89
"foo": 1,
@@ -73,6 +98,7 @@ exports[`InspectedElementContext should poll for updates for the currently selec
98
"id": 2,
99
"owners": null,
100
"context": null,
101
+ "events": null,
102
"hooks": null,
103
"props": {
104
"foo": 2,