[next] Fix warnings and errors that appear during test (#2348)

* fix: handle react act errors

* fix: fixed deprecated reporter option
This commit is contained in:
Vinh
2019-06-07 22:01:57 +00:00
committed by Wyatt Johnson
parent d4b99a2a57
commit 5b64d3d14b
17 changed files with 732 additions and 635 deletions
@@ -1,38 +1,35 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`map new speech prop to older aural prop 1`] = `
<MediaQuery
<MediaQueryContextConsumer
aural={true}
values={Object {}}
>
<div>
Hello World
</div>
</MediaQuery>
</MediaQueryContextConsumer>
`;
exports[`renders correctly 1`] = `
<MediaQuery
<MediaQueryContextConsumer
component="div"
maxWidth={320}
minWidth={640}
screen={true}
values={Object {}}
>
<div>
Hello World
</div>
</MediaQuery>
</MediaQueryContextConsumer>
`;
exports[`renders less than and great than correctly 1`] = `
<MediaQuery
<MediaQueryContextConsumer
maxWidth={319}
minWidth={641}
values={Object {}}
>
<div>
Hello World
</div>
</MediaQuery>
</MediaQueryContextConsumer>
`;