testing-library/jest-dom

🦉 Custom jest matchers to test the state of the DOM

JavaScriptTypeScriptjavascripttestingjestdomjsdomjest-matcherstesting-libraryreact-testing-librarycustom-matcherdom-testing-librarytesting-library-react
This is stars and forks stats for /testing-library/jest-dom repository. As of 03 May, 2024 this repository has 4110 stars and 352 forks.

jest-dom Custom jest matchers to test the state of the DOM The problem You want to use jest to write tests that assert various things about the state of a DOM. As part of that goal, you want to avoid all the repetitive patterns that arise in doing so. Checking for an element's attributes, its text content, its css classes, you name it. This solution The @testing-library/jest-dom library provides a set of custom jest matchers that you can use to extend jest. These will make your tests more...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
vuejs/vueTypeScriptJavaScriptOther205.5k034.4k0
gchq/CyberChefJavaScriptHTMLCSS22.8k02.7k0
ccwav/QLScript2JavaScript47202990
SheetJS/sheetjsJavaScriptTypeScriptOther33.7k08.1k0
stripe-samples/accept-a-paymentJavaScriptPHPRuby46804150
thoughtbot/administrateRubyHTMLSCSS5.7k01.1k0
SalesforceFoundation/EDAApexJavaScriptHTML21401460
robertguss/Astro-Theme-CreekAstroJavaScriptSCSS159+275+2
webview/webviewCC++Shell11.6k09190
ExpressLRS/ExpressLRSC++CPython2.7k+10537+1