common-testing-library-mistakes
eslint-plugin-testing-library
common-testing-library-mistakes | eslint-plugin-testing-library | |
---|---|---|
1 | 3 | |
4 | 956 | |
- | 0.7% | |
2.6 | 8.0 | |
over 2 years ago | 7 days ago | |
TypeScript | TypeScript | |
- | 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.
common-testing-library-mistakes
-
Testing-library: writing better async tests
These and a few more examples could be found in this repository.
eslint-plugin-testing-library
-
Top 3 React Testing Library mistakes I should have spotted earlier 🚀
💡 Check out this related eslint-plugin rule
-
3 tips for setting up Jest and rtl for Next.js
It's a good habit to let eslint help you out when you're coding. There is a specific eslint library for testing: eslint-plugin-testing-library Here is how you configure it.
-
Fix Your Failing Tests: A Debugging Checklist for React Testing Library
To make sure you're not missing an async with React Testing Library functions, you can use eslint-plugin-testing-library . This will warn you if you're using async unnecessarily or you're missing it entirely.
What are some alternatives?
angular-testing-library - 🐙 Simple and complete Angular testing utilities that encourage good testing practices
html2canvas - Screenshots with JavaScript
testing-react - Testing utilities that allow you to reuse your Storybook stories in your React unit tests!
eslint-plugin-jest - ESLint plugin for Jest
nextjs-typescript-material-ui-eslint-jest - Next.js example with TypeScript, Material UI, ESlint, Prettier, and Jest
react-hooks-testing-library - 🐏 Simple and complete React hooks testing utilities that encourage good testing practices.
SurveyJS - Free Open-Source JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout that lets you load and run multiple web forms, or build your own self-hosted form management system, retaining all sensitive data on your servers. You have total freedom of choice as to the backend, because any server + database combination is fully compatible.
MassDiceRoller - Project to learn React and do it properly (including CI/CD, testing, etc). The web app simulates rolling many dice and makes it easy to reroll certain outcomes.
rematch - The Redux Framework
vue-eslint-parser - The ESLint custom parser for `.vue` files.