Skip to content

Commit ec8474c

Browse files
author
Felix Wu
committed
style fix
1 parent 24481a2 commit ec8474c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

packages/react/src/__tests__/createReactClassIntegration-test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,9 +510,12 @@ describe('create-react-class-integration', () => {
510510
});
511511
expect(() =>
512512
ReactDOM.render(<Component />, document.createElement('div')),
513-
).toWarnDev('Component state must be properly initialized when using getDerivedStateFromProps.', {
514-
withoutStack: true,
515-
});
513+
).toWarnDev(
514+
'Component state must be properly initialized when using getDerivedStateFromProps.',
515+
{
516+
withoutStack: true,
517+
},
518+
);
516519
});
517520

518521
it('should not invoke deprecated lifecycles (cWM/cWRP/cWU) if new static gDSFP is present', () => {

0 commit comments

Comments
 (0)