Skip to content

Commit 6315acb

Browse files
committed
adjust snapshots back
1 parent 6fecb24 commit 6315acb

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

babel.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ module.exports = {
1212
},
1313
],
1414
],
15+
plugins: ['@babel/plugin-proposal-class-properties'],
1516
};

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"devDependencies": {
2222
"@babel/cli": "^7.8.4",
2323
"@babel/core": "^7.9.0",
24+
"@babel/plugin-proposal-class-properties": "^7.8.3",
2425
"@babel/preset-env": "^7.9.6",
2526
"@babel/preset-flow": "^7.9.0",
2627
"@babel/preset-react": "^7.9.4",

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ exports[`debug: shallow 1`] = `
151151
value=\\"I inspected freshie\\"
152152
/>
153153
<Button
154-
onPress={[Function changeFresh]}
154+
onPress={[Function anonymous]}
155155
type=\\"primary\\"
156156
>
157157
Change freshness!
@@ -201,7 +201,7 @@ exports[`debug: shallow with message 1`] = `
201201
value=\\"I inspected freshie\\"
202202
/>
203203
<Button
204-
onPress={[Function changeFresh]}
204+
onPress={[Function anonymous]}
205205
type=\\"primary\\"
206206
>
207207
Change freshness!

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@
306306
"@babel/helper-remap-async-to-generator" "^7.8.3"
307307
"@babel/plugin-syntax-async-generators" "^7.8.0"
308308

309-
"@babel/plugin-proposal-class-properties@^7.0.0":
309+
"@babel/plugin-proposal-class-properties@^7.0.0", "@babel/plugin-proposal-class-properties@^7.8.3":
310310
version "7.8.3"
311311
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.8.3.tgz#5e06654af5cd04b608915aada9b2a6788004464e"
312312
integrity sha512-EqFhbo7IosdgPgZggHaNObkmO1kNUe3slaKu54d5OWvy+p9QIKOzK1GAEpAIsZtWVtPXUHSMcT4smvDrCfY4AA==

0 commit comments

Comments
 (0)