mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Fix indentation for lint
This commit is contained in:
@@ -299,16 +299,16 @@ describe('ReactCompositeComponent-state', () => {
|
||||
// We expect the same thing to happen if we bail out in the middle.
|
||||
expect(ops).toEqual(
|
||||
ReactDOMFeatureFlags.useFiber ?
|
||||
[
|
||||
// Fiber works as expected
|
||||
'child did update',
|
||||
'parent did update',
|
||||
] : [
|
||||
// Stack treats these as two separate updates and therefore the order
|
||||
// is inverse.
|
||||
'parent did update',
|
||||
'child did update',
|
||||
]
|
||||
[
|
||||
// Fiber works as expected
|
||||
'child did update',
|
||||
'parent did update',
|
||||
] : [
|
||||
// Stack treats these as two separate updates and therefore the order
|
||||
// is inverse.
|
||||
'parent did update',
|
||||
'child did update',
|
||||
]
|
||||
);
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user