mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove redundant async
This commit is contained in:
@@ -510,7 +510,7 @@ describe('ReactLazy', () => {
|
||||
expect(root).toMatchRenderedOutput('Friends Bye');
|
||||
});
|
||||
|
||||
it('warns about defining propTypes on the outer wrapper', async () => {
|
||||
it('warns about defining propTypes on the outer wrapper', () => {
|
||||
const LazyText = lazy(() => fakeImport(Text));
|
||||
expect(() => {
|
||||
LazyText.propTypes = {hello: () => {}};
|
||||
|
||||
Reference in New Issue
Block a user