Change a test to be relevant in Fiber (#8281)
Fiber supports fragments so we will use undefined instead. This test is then valid both in Stack and in Fiber.
Dan Abramov committed
Nov 13, 2016 at 18:40 UTC
c6f10e2cee8c0ef6ceddf032ca318960d43820e7
1 file changed
+1
-1
src/renderers/dom/__tests__/ReactDOMProduction-test.js
+1
-1
@@ -178,7 +178,7 @@ describe('ReactDOMProduction', () => {
178
expect(function() {
179
class Component extends React.Component {
180
render() {
181
- return ['this is wrong'];
181
+ return undefined;
182
}
183
}
184