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.
This commit is contained in:
Dan Abramov
2016-11-13 18:40:21 +00:00
committed by Andrew Clark
parent 077822e9d0
commit c6f10e2cee
@@ -178,7 +178,7 @@ describe('ReactDOMProduction', () => {
expect(function() {
class Component extends React.Component {
render() {
return ['this is wrong'];
return undefined;
}
}