Remove redundant async

This commit is contained in:
Dan Abramov
2018-11-21 16:40:48 +00:00
parent 9111508981
commit d23c82e472
@@ -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: () => {}};