Skip to content

Commit f5db461

Browse files
chore(deps-dev): bump jest from 28.1.3 to 29.0.0 (#1076)
* chore(deps-dev): bump jest from 28.1.3 to 29.0.0 Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 28.1.3 to 29.0.0. - [Release notes](https://github.com/facebook/jest/releases) - [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/facebook/jest/commits/v29.0.0/packages/jest) --- updated-dependencies: - dependency-name: jest dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * fix: nuke snapshots * chore: update pretty-format Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Maciej Jastrzebski <[email protected]>
1 parent bf8bc45 commit f5db461

File tree

3 files changed

+488
-387
lines changed

3 files changed

+488
-387
lines changed

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,23 @@
4040
"@types/react": "^18.0.0",
4141
"@types/react-native": "^0.69.1",
4242
"@types/react-test-renderer": "^18.0.0",
43-
"babel-jest": "^28.0.0",
43+
"babel-jest": "^29.0.0",
4444
"conventional-changelog-cli": "^2.0.11",
4545
"cp-cli": "^2.0.0",
4646
"dedent": "^0.7.0",
4747
"del-cli": "^5.0.0",
4848
"eslint": "^8.21.0",
4949
"flow-bin": "~0.170.0",
5050
"flow-copy-source": "^2.0.9",
51-
"jest": "^28.0.0",
51+
"jest": "^29.0.0",
5252
"react": "^18.0.0",
5353
"react-native": "~0.69.1",
5454
"react-test-renderer": "^18.0.0",
5555
"strip-ansi": "^6.0.0",
5656
"typescript": "^4.0.2"
5757
},
5858
"dependencies": {
59-
"pretty-format": "^28.1.3"
59+
"pretty-format": "^29.0.0"
6060
},
6161
"peerDependencies": {
6262
"react": ">=16.0.0",

src/__tests__/__snapshots__/render.test.tsx.snap

+71-71
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,27 @@ exports[`debug 1`] = `
66
Is the banana fresh?
77
</Text>
88
<Text
9-
testID=\\"bananaFresh\\"
9+
testID="bananaFresh"
1010
>
1111
not fresh
1212
</Text>
1313
<TextInput
14-
placeholder=\\"Add custom freshness\\"
15-
testID=\\"bananaCustomFreshness\\"
16-
value=\\"Custom Freshie\\"
14+
placeholder="Add custom freshness"
15+
testID="bananaCustomFreshness"
16+
value="Custom Freshie"
1717
/>
1818
<TextInput
19-
defaultValue=\\"What did you inspect?\\"
20-
placeholder=\\"Who inspected freshness?\\"
21-
testID=\\"bananaChef\\"
22-
value=\\"I inspected freshie\\"
19+
defaultValue="What did you inspect?"
20+
placeholder="Who inspected freshness?"
21+
testID="bananaChef"
22+
value="I inspected freshie"
2323
/>
2424
<TextInput
25-
defaultValue=\\"What banana?\\"
25+
defaultValue="What banana?"
2626
/>
2727
<TextInput
28-
defaultValue=\\"hello\\"
29-
value=\\"\\"
28+
defaultValue="hello"
29+
value=""
3030
/>
3131
<View
3232
accessible={true}
@@ -41,7 +41,7 @@ exports[`debug 1`] = `
4141
onStartShouldSetResponder={[Function onStartShouldSetResponder]}
4242
style={
4343
Object {
44-
\\"opacity\\": 1,
44+
"opacity": 1,
4545
}
4646
}
4747
>
@@ -50,12 +50,12 @@ exports[`debug 1`] = `
5050
</Text>
5151
</View>
5252
<Text
53-
testID=\\"duplicateText\\"
53+
testID="duplicateText"
5454
>
5555
First Text
5656
</Text>
5757
<Text
58-
testID=\\"duplicateText\\"
58+
testID="duplicateText"
5959
>
6060
Second Text
6161
</Text>
@@ -71,27 +71,27 @@ exports[`debug changing component: bananaFresh button message should now be "fre
7171
Is the banana fresh?
7272
</Text>
7373
<Text
74-
testID=\\"bananaFresh\\"
74+
testID="bananaFresh"
7575
>
7676
fresh
7777
</Text>
7878
<TextInput
79-
placeholder=\\"Add custom freshness\\"
80-
testID=\\"bananaCustomFreshness\\"
81-
value=\\"Custom Freshie\\"
79+
placeholder="Add custom freshness"
80+
testID="bananaCustomFreshness"
81+
value="Custom Freshie"
8282
/>
8383
<TextInput
84-
defaultValue=\\"What did you inspect?\\"
85-
placeholder=\\"Who inspected freshness?\\"
86-
testID=\\"bananaChef\\"
87-
value=\\"I inspected freshie\\"
84+
defaultValue="What did you inspect?"
85+
placeholder="Who inspected freshness?"
86+
testID="bananaChef"
87+
value="I inspected freshie"
8888
/>
8989
<TextInput
90-
defaultValue=\\"What banana?\\"
90+
defaultValue="What banana?"
9191
/>
9292
<TextInput
93-
defaultValue=\\"hello\\"
94-
value=\\"\\"
93+
defaultValue="hello"
94+
value=""
9595
/>
9696
<View
9797
accessible={true}
@@ -106,7 +106,7 @@ exports[`debug changing component: bananaFresh button message should now be "fre
106106
onStartShouldSetResponder={[Function onStartShouldSetResponder]}
107107
style={
108108
Object {
109-
\\"opacity\\": 1,
109+
"opacity": 1,
110110
}
111111
}
112112
>
@@ -115,12 +115,12 @@ exports[`debug changing component: bananaFresh button message should now be "fre
115115
</Text>
116116
</View>
117117
<Text
118-
testID=\\"duplicateText\\"
118+
testID="duplicateText"
119119
>
120120
First Text
121121
</Text>
122122
<Text
123-
testID=\\"duplicateText\\"
123+
testID="duplicateText"
124124
>
125125
Second Text
126126
</Text>
@@ -136,41 +136,41 @@ exports[`debug: shallow 1`] = `
136136
Is the banana fresh?
137137
</Text>
138138
<Text
139-
testID=\\"bananaFresh\\"
139+
testID="bananaFresh"
140140
>
141141
not fresh
142142
</Text>
143143
<TextInput
144-
placeholder=\\"Add custom freshness\\"
145-
testID=\\"bananaCustomFreshness\\"
146-
value=\\"Custom Freshie\\"
144+
placeholder="Add custom freshness"
145+
testID="bananaCustomFreshness"
146+
value="Custom Freshie"
147147
/>
148148
<TextInput
149-
defaultValue=\\"What did you inspect?\\"
150-
placeholder=\\"Who inspected freshness?\\"
151-
testID=\\"bananaChef\\"
152-
value=\\"I inspected freshie\\"
149+
defaultValue="What did you inspect?"
150+
placeholder="Who inspected freshness?"
151+
testID="bananaChef"
152+
value="I inspected freshie"
153153
/>
154154
<TextInput
155-
defaultValue=\\"What banana?\\"
155+
defaultValue="What banana?"
156156
/>
157157
<TextInput
158-
defaultValue=\\"hello\\"
159-
value=\\"\\"
158+
defaultValue="hello"
159+
value=""
160160
/>
161161
<MyButton
162162
onPress={[Function anonymous]}
163-
type=\\"primary\\"
163+
type="primary"
164164
>
165165
Change freshness!
166166
</MyButton>
167167
<Text
168-
testID=\\"duplicateText\\"
168+
testID="duplicateText"
169169
>
170170
First Text
171171
</Text>
172172
<Text
173-
testID=\\"duplicateText\\"
173+
testID="duplicateText"
174174
>
175175
Second Text
176176
</Text>
@@ -188,41 +188,41 @@ exports[`debug: shallow with message 1`] = `
188188
Is the banana fresh?
189189
</Text>
190190
<Text
191-
testID=\\"bananaFresh\\"
191+
testID="bananaFresh"
192192
>
193193
not fresh
194194
</Text>
195195
<TextInput
196-
placeholder=\\"Add custom freshness\\"
197-
testID=\\"bananaCustomFreshness\\"
198-
value=\\"Custom Freshie\\"
196+
placeholder="Add custom freshness"
197+
testID="bananaCustomFreshness"
198+
value="Custom Freshie"
199199
/>
200200
<TextInput
201-
defaultValue=\\"What did you inspect?\\"
202-
placeholder=\\"Who inspected freshness?\\"
203-
testID=\\"bananaChef\\"
204-
value=\\"I inspected freshie\\"
201+
defaultValue="What did you inspect?"
202+
placeholder="Who inspected freshness?"
203+
testID="bananaChef"
204+
value="I inspected freshie"
205205
/>
206206
<TextInput
207-
defaultValue=\\"What banana?\\"
207+
defaultValue="What banana?"
208208
/>
209209
<TextInput
210-
defaultValue=\\"hello\\"
211-
value=\\"\\"
210+
defaultValue="hello"
211+
value=""
212212
/>
213213
<MyButton
214214
onPress={[Function anonymous]}
215-
type=\\"primary\\"
215+
type="primary"
216216
>
217217
Change freshness!
218218
</MyButton>
219219
<Text
220-
testID=\\"duplicateText\\"
220+
testID="duplicateText"
221221
>
222222
First Text
223223
</Text>
224224
<Text
225-
testID=\\"duplicateText\\"
225+
testID="duplicateText"
226226
>
227227
Second Text
228228
</Text>
@@ -240,27 +240,27 @@ exports[`debug: with message 1`] = `
240240
Is the banana fresh?
241241
</Text>
242242
<Text
243-
testID=\\"bananaFresh\\"
243+
testID="bananaFresh"
244244
>
245245
not fresh
246246
</Text>
247247
<TextInput
248-
placeholder=\\"Add custom freshness\\"
249-
testID=\\"bananaCustomFreshness\\"
250-
value=\\"Custom Freshie\\"
248+
placeholder="Add custom freshness"
249+
testID="bananaCustomFreshness"
250+
value="Custom Freshie"
251251
/>
252252
<TextInput
253-
defaultValue=\\"What did you inspect?\\"
254-
placeholder=\\"Who inspected freshness?\\"
255-
testID=\\"bananaChef\\"
256-
value=\\"I inspected freshie\\"
253+
defaultValue="What did you inspect?"
254+
placeholder="Who inspected freshness?"
255+
testID="bananaChef"
256+
value="I inspected freshie"
257257
/>
258258
<TextInput
259-
defaultValue=\\"What banana?\\"
259+
defaultValue="What banana?"
260260
/>
261261
<TextInput
262-
defaultValue=\\"hello\\"
263-
value=\\"\\"
262+
defaultValue="hello"
263+
value=""
264264
/>
265265
<View
266266
accessible={true}
@@ -275,7 +275,7 @@ exports[`debug: with message 1`] = `
275275
onStartShouldSetResponder={[Function onStartShouldSetResponder]}
276276
style={
277277
Object {
278-
\\"opacity\\": 1,
278+
"opacity": 1,
279279
}
280280
}
281281
>
@@ -284,12 +284,12 @@ exports[`debug: with message 1`] = `
284284
</Text>
285285
</View>
286286
<Text
287-
testID=\\"duplicateText\\"
287+
testID="duplicateText"
288288
>
289289
First Text
290290
</Text>
291291
<Text
292-
testID=\\"duplicateText\\"
292+
testID="duplicateText"
293293
>
294294
Second Text
295295
</Text>
@@ -312,7 +312,7 @@ exports[`toJSON 1`] = `
312312
onResponderTerminationRequest={[Function]}
313313
onStartShouldSetResponder={[Function]}
314314
style={
315-
Object {
315+
{
316316
"opacity": 1,
317317
}
318318
}

0 commit comments

Comments
 (0)