Skip to content

Commit 33dc866

Browse files
committed
smarter toJSON output
1 parent 79e5477 commit 33dc866

15 files changed

+582
-719
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
"jest": ">=29.0.0",
6060
"react": ">=19.0.0",
6161
"react-native": ">=0.71",
62-
"universal-test-renderer": "~0.10.0"
62+
"universal-test-renderer": "~0.10.1"
6363
},
6464
"peerDependenciesMeta": {
6565
"jest": {
@@ -95,7 +95,7 @@
9595
"release-it": "^19.0.6",
9696
"typescript": "^5.9.3",
9797
"typescript-eslint": "^8.47.0",
98-
"universal-test-renderer": "0.10.0"
98+
"universal-test-renderer": "0.10.1"
9999
},
100100
"publishConfig": {
101101
"registry": "https://registry.npmjs.org"
Lines changed: 33 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,39 @@
11
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`toJSON renders host output 1`] = `
4-
<>
5-
<View
6-
accessibilityState={
7-
{
8-
"busy": undefined,
9-
"checked": undefined,
10-
"disabled": undefined,
11-
"expanded": undefined,
12-
"selected": undefined,
13-
}
4+
<View
5+
accessibilityState={
6+
{
7+
"busy": undefined,
8+
"checked": undefined,
9+
"disabled": undefined,
10+
"expanded": undefined,
11+
"selected": undefined,
1412
}
15-
accessibilityValue={
16-
{
17-
"max": undefined,
18-
"min": undefined,
19-
"now": undefined,
20-
"text": undefined,
21-
}
13+
}
14+
accessibilityValue={
15+
{
16+
"max": undefined,
17+
"min": undefined,
18+
"now": undefined,
19+
"text": undefined,
2220
}
23-
accessible={true}
24-
collapsable={false}
25-
focusable={true}
26-
onBlur={[Function]}
27-
onClick={[Function]}
28-
onFocus={[Function]}
29-
onResponderGrant={[Function]}
30-
onResponderMove={[Function]}
31-
onResponderRelease={[Function]}
32-
onResponderTerminate={[Function]}
33-
onResponderTerminationRequest={[Function]}
34-
onStartShouldSetResponder={[Function]}
35-
>
36-
<Text>
37-
press me
38-
</Text>
39-
</View>
40-
</>
21+
}
22+
accessible={true}
23+
collapsable={false}
24+
focusable={true}
25+
onBlur={[Function]}
26+
onClick={[Function]}
27+
onFocus={[Function]}
28+
onResponderGrant={[Function]}
29+
onResponderMove={[Function]}
30+
onResponderRelease={[Function]}
31+
onResponderTerminate={[Function]}
32+
onResponderTerminationRequest={[Function]}
33+
onStartShouldSetResponder={[Function]}
34+
>
35+
<Text>
36+
press me
37+
</Text>
38+
</View>
4139
`;

0 commit comments

Comments
 (0)