SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 JavaScript Jest Projects
-
javascript-testing-best-practices
📗🌐 🚢 Comprehensive and exhaustive JavaScript & Node.js testing best practices (July 2023)
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
node-express-boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
jest-image-snapshot
✨ Jest matcher for image comparisons. Most commonly used for visual regression testing.
-
learning-react
The code samples for Learning React by Alex Banks and Eve Porcello, published by O'Reilly Media
-
nodejs-integration-tests-best-practices
✅ Beyond the basics of Node.js testing. Including a super-comprehensive best practices list and an example app (March 2024)
-
lwc-recipes
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
-
frisby
Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun. (by vlucas)
-
react-typescript-web-extension-starter
:desktop_computer: Web Extension starter kit built with React, TypeScript, TailwindCSS, Storybook, Jest, EsLint, Prettier, and Webpack. Supports Google Chrome + Mozilla Firefox + Brave Browser + Microsoft Edge + Opera :fire:
-
pro-react-admin
基于React: v18.x.x/Webpack: v5.x.x//Vite: 4.x.x/React Router v6.x.x/ Antd: v5..x.x/Typescript: v5.x.x/Fetch Api/等最新版本进行构建的企业级中台前端基础模板...
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Comprehensive and exhaustive JS & Node.js testing best practices (July 2023) | /r/softwarecrafters | 2023-11-30
Probably Enzyme was the first to popularize component testing in React by doing shallow rendering and expecting some things to be there in the React component tree. Then React Testing library came and took component testing to a whole new level.
tsdx - Zero-config CLI for TypeScript package development
Project mention: Show HN: I made a tool to clean and convert any webpage to Markdown | news.ycombinator.com | 2024-04-14Thoroughly scraping is challenging, especially in an environment where you don’t have (or want) a JavaScript runtime.
For content extraction, I found the approach the Postlight library takes quite neat. It scores individual html nodes based on some heuristics (text length, link density, css classes). It the selects the nodes with the highest score. [1] I ported it to Swift for a personal read later app.
[1] https://github.com/postlight/parser
Tests structure Queries Roles User events Matchers Jest Matchers testing-library Mock functions
You can give a try about visual testing. I think about Cypress components and Cypress Image snapshot or Jest Image snapshot (not DOM testing)
I recently came across a workaround for this issue by using the expect.toBeOneOf() matcher from the jest-extended library. This matcher allows you to check whether a value matches one of the expected values, including null and undefined.
JavaScript Jest related posts
-
Why I rarely use `getByRole`: Testing Library and the first rule of ARIA
-
Unit tests in React with Jest and Testing Library
-
How to test chart components in react?
-
Testing Intercepting Routes
-
Mastering Jest: A Complete Guide to Testing Next.js Applications Part-2
-
How to run visual tests in 2023
-
Accessibility check while code review
-
A note from our sponsor - SaaSHub
www.saashub.com | 10 May 2024
Index
What are some of the best open-source Jest projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | javascript-testing-best-practices | 23,568 |
2 | js-stack-from-scratch | 20,041 |
3 | Enzyme | 19,961 |
4 | front-end-guide | 15,086 |
5 | tsdx | 11,162 |
6 | node-express-boilerplate | 6,508 |
7 | parser | 5,276 |
8 | pepperoni-app-kit | 4,636 |
9 | jest-dom | 4,305 |
10 | jest-image-snapshot | 3,781 |
11 | learning-react | 3,498 |
12 | nodejs-integration-tests-best-practices | 3,202 |
13 | lwc-recipes | 2,457 |
14 | jest-extended | 2,293 |
15 | rest | 1,779 |
16 | frisby | 1,519 |
17 | generator-rn-toolbox | 1,191 |
18 | jest-in-case | 1,050 |
19 | enzyme-to-json | 953 |
20 | react-typescript-web-extension-starter | 896 |
21 | enzyme-matchers | 894 |
22 | xv | 830 |
23 | pro-react-admin | 696 |
Sponsored