mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
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:
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user