-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Revert the react sync. Changelog: [Internal] Reviewed By: kacieb Differential Revision: D22994588 fbshipit-source-id: 9662723839389465615bff2fdcf2759fb85bcb75
- Loading branch information
1 parent
471c2eb
commit 499b021
Showing
13 changed files
with
34,761 additions
and
38,479 deletions.
There are no files selected for viewing
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
94 changes: 94 additions & 0 deletions
94
Libraries/LogBox/__tests__/__snapshots__/LogBox-integration-test.js.snap
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,94 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log added to LogBox 1`] = ` | ||
Array [ | ||
Object { | ||
"category": "Warning: Invalid prop \`%s\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.", | ||
"componentStack": Array [ | ||
Object { | ||
"content": "Fragment", | ||
"fileName": "ReactWarningFixtures.js", | ||
"location": Object { | ||
"column": -1, | ||
"row": 28, | ||
}, | ||
}, | ||
], | ||
"level": "warn", | ||
"message": Object { | ||
"content": "Warning: Invalid prop \`invalid\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.", | ||
"substitutions": Array [ | ||
Object { | ||
"length": 7, | ||
"offset": 23, | ||
}, | ||
], | ||
}, | ||
}, | ||
] | ||
`; | ||
|
||
exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log passed to console error 1`] = ` | ||
Array [ | ||
"Warning: Invalid prop \`invalid\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props. | ||
in Fragment (at ReactWarningFixtures.js:28)", | ||
] | ||
`; | ||
|
||
exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log sent from React 1`] = ` | ||
Array [ | ||
"Warning: Invalid prop \`%s\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.%s", | ||
"invalid", | ||
" | ||
in Fragment (at ReactWarningFixtures.js:28)", | ||
] | ||
`; | ||
|
||
exports[`LogBox integrates with React and handles a key error in LogBox: Log added to LogBox 1`] = ` | ||
Array [ | ||
Object { | ||
"category": "Warning: Each child in a list should have a unique \\"key\\" prop.%s%s See https://fb.me/react-warning-keys for more information.", | ||
"componentStack": Array [ | ||
Object { | ||
"content": "Text", | ||
"fileName": "ReactWarningFixtures.js", | ||
"location": Object { | ||
"column": -1, | ||
"row": 20, | ||
}, | ||
}, | ||
], | ||
"level": "warn", | ||
"message": Object { | ||
"content": "Warning: Each child in a list should have a unique \\"key\\" prop. See https://fb.me/react-warning-keys for more information.", | ||
"substitutions": Array [ | ||
Object { | ||
"length": 0, | ||
"offset": 62, | ||
}, | ||
Object { | ||
"length": 0, | ||
"offset": 62, | ||
}, | ||
], | ||
}, | ||
}, | ||
] | ||
`; | ||
|
||
exports[`LogBox integrates with React and handles a key error in LogBox: Log passed to console error 1`] = ` | ||
Array [ | ||
"Warning: Each child in a list should have a unique \\"key\\" prop. See https://fb.me/react-warning-keys for more information. | ||
in Text (at ReactWarningFixtures.js:20)", | ||
] | ||
`; | ||
|
||
exports[`LogBox integrates with React and handles a key error in LogBox: Log sent from React 1`] = ` | ||
Array [ | ||
"Warning: Each child in a list should have a unique \\"key\\" prop.%s%s See https://fb.me/react-warning-keys for more information.%s", | ||
"", | ||
"", | ||
" | ||
in Text (at ReactWarningFixtures.js:20)", | ||
] | ||
`; |
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 |
---|---|---|
@@ -1 +1 @@ | ||
e67a6b16030ebc30257a69a7fb36a9ed67f29b39 | ||
b5c6dd2de557428974855b5aa88bf9c6595beb2b |
Oops, something went wrong.