{"repo":"nvh95/jest-preview","free":true,"listed":false,"github":"https://github.com/nvh95/jest-preview","clone":"git clone https://github.com/nvh95/jest-preview.git","description":"Debug your Jest tests. Effortlessly.🛠🖼","language":"TypeScript","stars":2394,"topics":["jest","frontend","testing","productivity","debug","javascript","test","react","css","jest-view-html"],"license":"MIT","category":"productivity","readme_excerpt":"Jest Preview Debug your Jest tests. Effortlessly. 🛠🖼 Try Jest Preview Online . No downloads needed! Using Vitest? Try Vitest Preview Why jest-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: - Vite React - Create React App - Nextjs - Svelte - Angular - Vue Features - 👀 Preview your actual app's HTML in a browser in milliseconds. - 🔄 Auto reload browser when executing preview. debug() . - 💅 Support CSS: - ✅ Direct CSS import - ✅ Number of CSS-in-JS libraries, such as: - ✅ Styled-components - ✅ Emotion - ✅ Global CSS - ✅ CSS Modules - ✅ Sass - 🌄 Support viewing images. How to use jest-preview in 2 lines of code Or: You also need to start the Jest Preview Server by running the CLI jest-preview . Please continue to read Usage for the details instructions. Feedback Your feedback is very important to us. Please help jest-preview becomes a better software by submitting feedback here. Installation See the Installation Guide on Jest Preview official website. Usage See the Usage Guide on Jest Preview official website. Advanced confi","default_branch":null,"files":null,"tree":[],"storefront":"/r/nvh95","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nvh95/jest-preview/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}