Mocha
Mocha is a feature-rich JavaScript test framework running on Node.js and in the browser, making asynchronous testing straightforward and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
Get StartedConfiguration Reference
Sponsors
Section titled βSponsorsβUse Mocha at work? Ask your manager or marketing team if theyβd help support our project. Your companyβs logo will also be displayed on npmjs.com and our GitHub repository.
Backers
Section titled βBackersβFind Mocha helpful? Become a backer and support Mocha with a monthly donation.
π WebdriverIO
π Automatio AI
π Third Iron
π Damon Overboe
π DontPayFull
π Loc8NearMe
π Dan Aprahamian
π ZenRows
π Mariusz Nowak
π Software Development UK
π Mobilemall.pk
π Immigration.sg
π Tommi Aaltonen
π VPSDime
π Owen Buckley
π LivingFeeds
π Game Rules
π GraphCommerce
π Crosslist
π Scrapfly
π Gavin Mogan
π Matter
π Versl
π G7R
π Softermii
π Kevin Lamping
π Fiber Optic Cable
π Songsterr.com
π formation.tech
π RxDB
π Free Template
π Quarry Rents
π CrawlJobs
π buzzvoice.com
π Chudovo
π 7calendar.com
π Sister Sites
π Reach Digital
π Theme Divi
π VendSoft
π BestETF
π IT Flashcards
π Rebrowser.net
π Roundproxies
π HypeProxies
π Piloterr
π Subscord
π Sublyna
π Retailed
π ZIND
π Capturekit
π HuntAPI
π AllDevBlogs
π Discount Agent
π TWT S
π Network Tools
π Time.so
π OhMyFacts
π Feetpedia
π Calculators
π Time Now
π Million.tools
π Spin the Wheel
π Prothots
π ViewSnapStories
π Tikster
π Jamdesk
π Love You
π Local Citation Service
π StoryLooker
π MedyaMagaza
π Netrouting
π ListCrawler
π Instant Famous
π elfontario.ca
π UAParser.js
π RedReply
π Tik Ninja
More Information
Section titled βMore InformationβIn addition to chatting with us on our Discord, for additional information such as using spies, mocking, and shared behaviours be sure to check out the Mocha Wiki on GitHub. For a running example of Mocha, view example/tests.html.
For the old docs website, see: legacy.mochajs.org.
For the JavaScript API, view the API documentation or the source.
