-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "chore: remove unneeded yarn patch for react native (#11853)"
This reverts commit 0e5495b.
- Loading branch information
Showing
4 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/jest/preprocessor.js b/jest/preprocessor.js | ||
index 5920c0a6f23c056f27366fabf32dd13c6f86465b..2658e52f9127ac58849e7f830f6342d8b683672c 100644 | ||
--- a/jest/preprocessor.js | ||
+++ b/jest/preprocessor.js | ||
@@ -64,8 +64,6 @@ module.exports = { | ||
[require('@babel/plugin-transform-flow-strip-types')], | ||
[ | ||
require('@babel/plugin-proposal-class-properties'), | ||
- // use `this.foo = bar` instead of `this.defineProperty('foo', ...)` | ||
- {loose: true}, | ||
], | ||
[require('@babel/plugin-transform-computed-properties')], | ||
[require('@babel/plugin-transform-destructuring')], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters