Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ayc0/mock-match-media-examples
https://github.com/ayc0/mock-match-media-examples
Last synced: 9 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ayc0/mock-match-media-examples
- Owner: Ayc0
- Created: 2019-11-01T13:20:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-11-01T21:05:00.000Z (about 2 years ago)
- Last Synced: 2024-10-11T20:44:35.759Z (about 1 month ago)
- Language: JavaScript
- Size: 517 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repository shows various examples of how to use `mock-match-media` to mock `matchMedia` in different contexts:
- [create-react-app and Jest and react-testing-library](https://github.com/Ayc0/mock-match-media-examples/tree/master/create-react-app)
- [NextJS](https://nextjs.org/)