File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -119,11 +119,12 @@ Warning: An update to ComponentName inside a test was not wrapped in act(...).
119
119
```
120
120
121
121
If you cannot upgrade to React DOM 16.9, you may suppress the warnings by adding
122
- the following snippet to your test configuration:
122
+ the following snippet to your test configuration
123
+ ([ learn more] ( https://github.com/testing-library/react-testing-library/issues/281 ) ):
123
124
124
125
``` js
125
- // this is just a little hack to silence a warning that we'll get until react
126
- // fixes this : https://github.com/facebook/react/pull/14853
126
+ // this is just a little hack to silence a warning that we'll get until we
127
+ // upgrade to 16.9 : https://github.com/facebook/react/pull/14853
127
128
const originalError = console .error
128
129
beforeAll (() => {
129
130
console .error = (... args ) => {
You can’t perform that action at this time.
0 commit comments