Skip to content

Commit 3e636ad

Browse files
authored
Update README.md
1 parent d760c65 commit 3e636ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ npm install --save-dev jsdom-testing-mocks
88
```
99

1010
## Mock viewport
11-
Mocks browser's `matchMedia`, allows testing of component's behavior depending on the viewport description (supports all of the [Media Features](http://www.w3.org/TR/css3-mediaqueries/#media1)). `mockViewport` must be called before rendering the component
11+
Mocks `matchMedia`, allows testing of component's behavior depending on the viewport description (supports all of the [Media Features](http://www.w3.org/TR/css3-mediaqueries/#media1)). `mockViewport` must be called before rendering the component
1212

1313
Example, using `React Testing Library`:
1414

0 commit comments

Comments
 (0)