|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log added to LogBox 1`] = ` |
| 4 | +Array [ |
| 5 | + Object { |
| 6 | + "category": "Warning: Invalid prop \`%s\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.", |
| 7 | + "componentStack": Array [ |
| 8 | + Object { |
| 9 | + "content": "Fragment", |
| 10 | + "fileName": "ReactWarningFixtures.js", |
| 11 | + "location": Object { |
| 12 | + "column": -1, |
| 13 | + "row": 28, |
| 14 | + }, |
| 15 | + }, |
| 16 | + ], |
| 17 | + "level": "warn", |
| 18 | + "message": Object { |
| 19 | + "content": "Warning: Invalid prop \`invalid\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.", |
| 20 | + "substitutions": Array [ |
| 21 | + Object { |
| 22 | + "length": 7, |
| 23 | + "offset": 23, |
| 24 | + }, |
| 25 | + ], |
| 26 | + }, |
| 27 | + }, |
| 28 | +] |
| 29 | +`; |
| 30 | + |
| 31 | +exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log passed to console error 1`] = ` |
| 32 | +Array [ |
| 33 | + "Warning: Invalid prop \`invalid\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props. |
| 34 | + in Fragment (at ReactWarningFixtures.js:28)", |
| 35 | +] |
| 36 | +`; |
| 37 | + |
| 38 | +exports[`LogBox integrates with React and handles a fragment warning in LogBox: Log sent from React 1`] = ` |
| 39 | +Array [ |
| 40 | + "Warning: Invalid prop \`%s\` supplied to \`React.Fragment\`. React.Fragment can only have \`key\` and \`children\` props.%s", |
| 41 | + "invalid", |
| 42 | + " |
| 43 | + in Fragment (at ReactWarningFixtures.js:28)", |
| 44 | +] |
| 45 | +`; |
| 46 | + |
| 47 | +exports[`LogBox integrates with React and handles a key error in LogBox: Log added to LogBox 1`] = ` |
| 48 | +Array [ |
| 49 | + Object { |
| 50 | + "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.", |
| 51 | + "componentStack": Array [ |
| 52 | + Object { |
| 53 | + "content": "Text", |
| 54 | + "fileName": "ReactWarningFixtures.js", |
| 55 | + "location": Object { |
| 56 | + "column": -1, |
| 57 | + "row": 20, |
| 58 | + }, |
| 59 | + }, |
| 60 | + ], |
| 61 | + "level": "warn", |
| 62 | + "message": Object { |
| 63 | + "content": "Warning: Each child in a list should have a unique \\"key\\" prop. See https://fb.me/react-warning-keys for more information.", |
| 64 | + "substitutions": Array [ |
| 65 | + Object { |
| 66 | + "length": 0, |
| 67 | + "offset": 62, |
| 68 | + }, |
| 69 | + Object { |
| 70 | + "length": 0, |
| 71 | + "offset": 62, |
| 72 | + }, |
| 73 | + ], |
| 74 | + }, |
| 75 | + }, |
| 76 | +] |
| 77 | +`; |
| 78 | + |
| 79 | +exports[`LogBox integrates with React and handles a key error in LogBox: Log passed to console error 1`] = ` |
| 80 | +Array [ |
| 81 | + "Warning: Each child in a list should have a unique \\"key\\" prop. See https://fb.me/react-warning-keys for more information. |
| 82 | + in Text (at ReactWarningFixtures.js:20)", |
| 83 | +] |
| 84 | +`; |
| 85 | + |
| 86 | +exports[`LogBox integrates with React and handles a key error in LogBox: Log sent from React 1`] = ` |
| 87 | +Array [ |
| 88 | + "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", |
| 89 | + "", |
| 90 | + "", |
| 91 | + " |
| 92 | + in Text (at ReactWarningFixtures.js:20)", |
| 93 | +] |
| 94 | +`; |
0 commit comments