mock-match-media
xv
mock-match-media | xv | |
---|---|---|
1 | 2 | |
21 | 830 | |
- | - | |
3.1 | 2.4 | |
10 months ago | 7 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mock-match-media
-
@blocz/react-responsive v3 is out
The library by itself doesnβt provide any mocks for window.matchMedia for SSR. But if you use one, like mock-match-media, @blocz/react-responsive will listen to it.
xv
What are some alternatives?
react-responsive - π <Only /> displays some contents for particular screen sizes
javascript-testing-best-practices - ππ π’ Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
enzyme - JavaScript Testing utilities for React [Moved to: https://github.com/enzymejs/enzyme]
es-pack-js - Build and test portable JavaScript/rustwasm π¦ modules
styletron - :zap: Toolkit for component-oriented styling
script-type - Learn differences between script defer, async and modules
jest-canvas-mock - :last_quarter_moon: A module used to mock canvas in Jest.
twist - Declarative JavaScript Testing
http-fake-backend - Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
oletus - Minimal ECMAScript Module test runner
karma - Spectacular Test Runner for JavaScript
node-oracledb - Oracle Database driver for Node.js maintained by Oracle Corp.