Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Nodebestpractices | 89,600 | 4 days ago | 47 | cc-by-sa-4.0 | Dockerfile | |||||
:white_check_mark: The Node.js best practices list (May 2023) | ||||||||||
Javascript Testing Best Practices | 21,424 | a month ago | 59 | mit | JavaScript | |||||
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (December 2022) | ||||||||||
Enzyme | 19,983 | 51,435 | 26,241 | 3 months ago | 54 | December 20, 2019 | 292 | mit | JavaScript | |
JavaScript Testing utilities for React | ||||||||||
Ts Jest | 6,549 | 28,805 | 75,730 | 3 days ago | 179 | September 24, 2022 | 58 | mit | TypeScript | |
A Jest transformer with source map support that lets you use Jest to test projects written in TypeScript. | ||||||||||
Jest Cheat Sheet | 4,869 | 5 months ago | cc0-1.0 | |||||||
Jest cheat sheet | ||||||||||
Pepperoni App Kit | 4,640 | 3 months ago | 4 | March 24, 2017 | 67 | mit | JavaScript | |||
Pepperoni - React Native App Starter Kit for Android and iOS | ||||||||||
Jest Dom | 3,958 | 1,662 | 11,367 | 5 days ago | 49 | April 05, 2022 | 94 | mit | JavaScript | |
:owl: Custom jest matchers to test the state of the DOM | ||||||||||
Jest Image Snapshot | 3,596 | 411 | 541 | 2 months ago | 40 | August 31, 2022 | 24 | apache-2.0 | JavaScript | |
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing. | ||||||||||
Nodejs Integration Tests Best Practices | 2,906 | a month ago | 42 | JavaScript | ||||||
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (April 2022) | ||||||||||
React Native Testing Library | 2,765 | 41 | 442 | 9 days ago | 43 | September 26, 2022 | 13 | mit | TypeScript | |
🦉 Simple and complete React Native testing utilities that encourage good testing practices. |
Debug your Jest tests. Effortlessly.
Try Jest Preview Online. No downloads needed!
Using Vitest? Try Vitest Preview
When writing tests using Jest, we usually debug by reading the HTML code. Sometimes, the HTML is too complicated to visualize the UI in our head. jest-preview
previews your Jest tests right in a browser, then you can see your actual UI visually, which helps you write and debug Jest tests faster.
jest-preview
is initially designed to work with Jest and react-testing-library. The package is framework-agnostic, and you can use it with any frontend frameworks and testing libraries. For examples:
preview.
debug()`.jest-preview
in 2 lines of code+import preview from 'jest-preview';
describe('App', () => {
it('should work as expected', () => {
render(<App />);
+ preview.debug();
});
});
Or:
+import { debug } from 'jest-preview';
describe('App', () => {
it('should work as expected', () => {
render(<App />);
+ debug();
});
});
You also need to start the Jest Preview Server by running the CLI jest-preview
. Please continue to read Usage for the details instructions.
Your feedback is very important to us. Please help jest-preview
becomes a better software by submitting feedback here.
See the Installation Guide on Jest Preview official website.
See the Usage Guide on Jest Preview official website.
Jest Preview comes with Pre-configured transformation. However, in more advanced use cases where you have custom code transformation, check out the Code Transformation Guide.
css-in-js
libraries.Please file an issue, or add a new discussion if you encounter any issues.
You can also mention @JestPreview or @hung_dev on Twitter if you want to have some more discussions or suggestions.
We also have a Discord server:
We can't wait to see your contributions. See the Contribution Guide at CONTRIBUTING.md
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind are welcome!
MIT
Your financial support helps the project alive and in a development mode. Make an impact by sponsoring us $1 via Open Collective.