jest-canvas-mock
mock-match-media
jest-canvas-mock | mock-match-media | |
---|---|---|
1 | 1 | |
306 | 21 | |
- | - | |
4.8 | 3.1 | |
about 2 months ago | 10 months ago | |
JavaScript | JavaScript | |
- | 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.
jest-canvas-mock
-
How to test HTML5 canvas with jest?
I’m not 100% sure this works with current versions of Jest but I previously used https://github.com/hustcc/jest-canvas-mock. It should be fine though.
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.
What are some alternatives?
jest-image-snapshot - ✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
react-responsive - 🔍 <Only /> displays some contents for particular screen sizes
vue-echarts - Vue.js component for Apache ECharts™.
enzyme - JavaScript Testing utilities for React [Moved to: https://github.com/enzymejs/enzyme]
echarts-gl - Extension pack for Apache ECharts, providing globe visualization and 3D plots.
styletron - :zap: Toolkit for component-oriented styling
jest-how-do-i-mock-x - Runnable examples for common testing situations that often prove challenging
http-fake-backend - Build a fake backend by providing the content of JSON files or JavaScript objects through configurable routes.
echarts-wordcloud - Word Cloud extension based on Apache ECharts and wordcloud2.js
echarts-liquidfill - Liquid Fill Chart for Apache ECharts
home-automation-ui - Home Automation Web Application UI built using ReactJS