-
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.
Back out ""React Native sync for revisions b5c6dd2...a437f3ff3""
Summary: Original commit changeset: c3c146b87fa5 Changelog: [Internal] Reviewed By: makovkastar Differential Revision: D22949053 fbshipit-source-id: 746719e44cd5d960dc14d7398f093a288ab61d88
- Loading branch information
1 parent
065fbe3
commit 4cdb195
Showing
13 changed files
with
34,654 additions
and
38,514 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 @@ | ||
a437f3ff302dc92347d812d518c9a9659d9aa546 | ||
b5c6dd2de557428974855b5aa88bf9c6595beb2b |
Oops, something went wrong.