Skip to content

Commit a9cf184

Browse files
author
Kent C. Dodds
authored
Update README.md
1 parent 26e65b0 commit a9cf184

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,12 @@ Warning: An update to ComponentName inside a test was not wrapped in act(...).
119119
```
120120

121121
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)):
123124

124125
```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
127128
const originalError = console.error
128129
beforeAll(() => {
129130
console.error = (...args) => {

0 commit comments

Comments
 (0)