Mocha
simple, flexible, fun javascript test framework for node.js & the browser.
Collective -
Host: opensource -
https://opencollective.com/mochajs
- Website: https://mochajs.org/
- Code: https://github.com/mochajs/mocha
docs: add sponsored to sponsorship link rels
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
📝 Docs: Add rel=sponsored to backer/sponsor links
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
chore: revert #5069 to restore Netlify builds
github.com/mochajs/mocha - voxpelli opened this pull request over 1 year ago
github.com/mochajs/mocha - voxpelli opened this pull request over 1 year ago
chore: add 'status: in triage' label to issue templates and docs
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
📝 Docs: Make 'status: triage' label & corresponding docs
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
chore: fix link in pull request template
github.com/mochajs/mocha - orgads opened this pull request over 1 year ago
github.com/mochajs/mocha - orgads opened this pull request over 1 year ago
chore: update chokidar to 3.6.0
github.com/mochajs/mocha - orgads opened this pull request over 1 year ago
github.com/mochajs/mocha - orgads opened this pull request over 1 year ago
feat: add a global mocha variable
github.com/mochajs/mocha - CheadleCheadle opened this pull request over 1 year ago
github.com/mochajs/mocha - CheadleCheadle opened this pull request over 1 year ago
🚀 Feature: Give more control on how diffs are rendered
github.com/mochajs/mocha - forty opened this issue over 1 year ago
github.com/mochajs/mocha - forty opened this issue over 1 year ago
📝 Docs: Explicitly document how to work with Node loader/import/require flags
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
fix: Add error handling for nonexistent file case with --file option
github.com/mochajs/mocha - khoaHyh opened this pull request over 1 year ago
github.com/mochajs/mocha - khoaHyh opened this pull request over 1 year ago
🐛 Bug: Errorhandling fails when node:module registered errors are thrown
github.com/mochajs/mocha - stalet opened this issue over 1 year ago
github.com/mochajs/mocha - stalet opened this issue over 1 year ago
🚀 Feature: Add a global variable in tests indicating the test runner name and version
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
docs: fix CHANGELOG.md headings to start with a root-level h1
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🛠 Repo: CHANGELOG.md accessibility issues: headings
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: New release with no features (testing the release pipeline)
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
fix: use original Error object for uncaught errors when provided in browser
github.com/mochajs/mocha - karyon opened this pull request over 1 year ago
github.com/mochajs/mocha - karyon opened this pull request over 1 year ago
🐛 Bug: mocha 10.2.0 prints out command help text and ERROR: null when unexpected error in -r module occurs
github.com/mochajs/mocha - khteh opened this issue over 1 year ago
github.com/mochajs/mocha - khteh opened this issue over 1 year ago
chore: add mtfoley/pr-compliance-action
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🛠 Repo: Add PR compliance action
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
fix: harden error handling in `lib/cli/run.js`
github.com/mochajs/mocha - stalet opened this pull request over 1 year ago
github.com/mochajs/mocha - stalet opened this pull request over 1 year ago
🐛 Bug: Mocha (10.x) and Chai (5.x) don't work together
github.com/mochajs/mocha - GuyKh opened this issue over 1 year ago
github.com/mochajs/mocha - GuyKh opened this issue over 1 year ago
🛠 Repo: Pull in @mocha/docdash updates
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
chore: upgrade devDependencies around docs site to latest
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🛠 Repo: Several packages reported by npm audit
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
chore: remove unnecessary canvas dependency
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
fix: add alt text to Built with Netlify badge
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🐛 Bug: Accessibility issue on mochajs.org: scrollable region missing keyboard focus
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🐛 Bug: Accessibility issue on mochajs.org: missing alt text
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
📝 Docs: Standardize slogan as something without "simple"
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Enable eslint-plugin-promise in ESLint config
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Enable eslint-plugin-n in ESLint config
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Enable eslint-plugin-import in ESLint config
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Extend from eslint:recommended in ESLint config
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
chore: migrate ESLint config to flat config
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🛠 Repo: Unable to install on ARM Mac (node-pre-gyp and gyp failures)
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Rework ESLint config: flat config, separate Prettier plugin
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
fix: set test total properly with --fail-zero and --delay
github.com/mochajs/mocha - joandino opened this pull request over 1 year ago
github.com/mochajs/mocha - joandino opened this pull request over 1 year ago
chore: inline nyan reporter's write function
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🛠 Repo: Set up Renovate
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Set up commit/PR linting to (only) enforce PR titles, per squash merging
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Consider adding a sentences-per-line linter
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Nondeterministic test failures on the main branch
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
🛠 Repo: Rename master branch to main
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
docs: touchups to labels and a template title post-revamp
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
🚀 Feature: ESM configuration file
github.com/mochajs/mocha - thescientist13 opened this issue over 1 year ago
github.com/mochajs/mocha - thescientist13 opened this issue over 1 year ago
mocha failed and shows ERROR: null
github.com/mochajs/mocha - ramanarupa opened this issue over 1 year ago
github.com/mochajs/mocha - ramanarupa opened this issue over 1 year ago
Can't use node-option with ts-node
github.com/mochajs/mocha - ericvergnaud opened this issue over 1 year ago
github.com/mochajs/mocha - ericvergnaud opened this issue over 1 year ago
docs: Add warning about async callback for describe
github.com/mochajs/mocha - mcdurdin opened this pull request over 1 year ago
github.com/mochajs/mocha - mcdurdin opened this pull request over 1 year ago
provide more useful information on ERROR: null
github.com/mochajs/mocha - paulo-ocean opened this pull request over 1 year ago
github.com/mochajs/mocha - paulo-ocean opened this pull request over 1 year ago
Allow passing configuration via environment variables
github.com/mochajs/mocha - icholy opened this issue over 1 year ago
github.com/mochajs/mocha - icholy opened this issue over 1 year ago
🚀 Feature: Be able to add flag to some `it()` to prevent skipping
github.com/mochajs/mocha - ChristianMayer opened this issue over 1 year ago
github.com/mochajs/mocha - ChristianMayer opened this issue over 1 year ago
chore: add knip to validate included dependencies
github.com/mochajs/mocha - voxpelli opened this pull request over 1 year ago
github.com/mochajs/mocha - voxpelli opened this pull request over 1 year ago
fix: support canonical module
github.com/mochajs/mocha - JacobLey opened this pull request over 1 year ago
github.com/mochajs/mocha - JacobLey opened this pull request over 1 year ago
🚀 Feature: API surface for developing an up-to-date VS Code Extension
github.com/mochajs/mocha - Danielku15 opened this issue over 1 year ago
github.com/mochajs/mocha - Danielku15 opened this issue over 1 year ago
docs: overhaul contributing and maintenance docs for end-of-year 2023
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
Revisit and overhaul existing maintenance docs
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
Overhaul issue and PR templates
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
json reporter separator configuration
github.com/mochajs/mocha - TheSnakeWitcher opened this issue over 1 year ago
github.com/mochajs/mocha - TheSnakeWitcher opened this issue over 1 year ago
fix: better tracking of seen objects in error serialization
github.com/mochajs/mocha - sam-super opened this pull request over 1 year ago
github.com/mochajs/mocha - sam-super opened this pull request over 1 year ago
Mocha cannot find the inherited tsconfig even though it is present in node_modules
github.com/mochajs/mocha - mykola-mokhnach opened this issue over 1 year ago
github.com/mochajs/mocha - mykola-mokhnach opened this issue over 1 year ago
Is there a formula for using mocha+browser and mocha+node, where node imports JSDOM and browser uses global.window?
github.com/mochajs/mocha - iambumblehead opened this issue over 1 year ago
github.com/mochajs/mocha - iambumblehead opened this issue over 1 year ago
chore: remove stale workflow
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request over 1 year ago
`TypeError: arg.split is not a function` when passed a numerical argument
github.com/mochajs/mocha - nferch opened this issue over 1 year ago
github.com/mochajs/mocha - nferch opened this issue over 1 year ago
📌 Project Status: Maintenance Reboot
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue over 1 year ago
Any way to override or get the function from `it` block before it gets executed, using globalhooks like beforeEach
github.com/mochajs/mocha - the-damarla opened this issue over 1 year ago
github.com/mochajs/mocha - the-damarla opened this issue over 1 year ago
🐛 Bug: remove util.inherits / convert to classes
github.com/mochajs/mocha - jimmywarting opened this issue over 1 year ago
github.com/mochajs/mocha - jimmywarting opened this issue over 1 year ago
chore: remove nanoid as dependency
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
chore: remove touch as dev dependency
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
chore: remove uuid dev dependency
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
github.com/mochajs/mocha - Uzlopak opened this pull request over 1 year ago
Mocha 10.2.0 ships with a critical security vulnerability in its dependency chain
github.com/mochajs/mocha - Pomax opened this issue almost 2 years ago
github.com/mochajs/mocha - Pomax opened this issue almost 2 years ago
feat: support reporting AggregateErrors
github.com/mochajs/mocha - CheadleCheadle opened this pull request almost 2 years ago
github.com/mochajs/mocha - CheadleCheadle opened this pull request almost 2 years ago
feat: added optional jsw format to json reporter
github.com/mochajs/mocha - CheadleCheadle opened this pull request almost 2 years ago
github.com/mochajs/mocha - CheadleCheadle opened this pull request almost 2 years ago
🚀 Feature: Support algorithmically setting loader
github.com/mochajs/mocha - FFdhorkin opened this issue almost 2 years ago
github.com/mochajs/mocha - FFdhorkin opened this issue almost 2 years ago
feat: use <progress> and <svg> for browser progress indicator instead of <canvas>
github.com/mochajs/mocha - yourWaifu opened this pull request almost 2 years ago
github.com/mochajs/mocha - yourWaifu opened this pull request almost 2 years ago
Should the spec reporter report retries?
github.com/mochajs/mocha - lilnasy opened this issue almost 2 years ago
github.com/mochajs/mocha - lilnasy opened this issue almost 2 years ago
Add node v20 to the tests matrix
github.com/mochajs/mocha - Dentxinho opened this pull request almost 2 years ago
github.com/mochajs/mocha - Dentxinho opened this pull request almost 2 years ago
feat: implement `repeats`
github.com/mochajs/mocha - mmomtchev opened this pull request almost 2 years ago
github.com/mochajs/mocha - mmomtchev opened this pull request almost 2 years ago
structuredClone is not defined
github.com/mochajs/mocha - kylefran-thryv opened this issue almost 2 years ago
github.com/mochajs/mocha - kylefran-thryv opened this issue almost 2 years ago
Update glob dependency to avoid [email protected] snyk vulnerability
github.com/mochajs/mocha - tmbp95 opened this issue almost 2 years ago
github.com/mochajs/mocha - tmbp95 opened this issue almost 2 years ago
Executing async tests serially?
github.com/mochajs/mocha - gukoff opened this issue almost 2 years ago
github.com/mochajs/mocha - gukoff opened this issue almost 2 years ago
Error from afterEach hides the original error from the test case when retries > 0
github.com/mochajs/mocha - zorji opened this issue almost 2 years ago
github.com/mochajs/mocha - zorji opened this issue almost 2 years ago
Root hooks not executed when programmatically running Mocha in serial mode
github.com/mochajs/mocha - telaoumatenyanis opened this issue almost 2 years ago
github.com/mochajs/mocha - telaoumatenyanis opened this issue almost 2 years ago
🐛 Bug: `--(f)grep` causes `mochaHooks` to not run
github.com/mochajs/mocha - JakobJingleheimer opened this issue almost 2 years ago
github.com/mochajs/mocha - JakobJingleheimer opened this issue almost 2 years ago
📝 Docs: `--delay` option not delaying root suite is ambiguous in docs
github.com/mochajs/mocha - straker opened this issue almost 2 years ago
github.com/mochajs/mocha - straker opened this issue almost 2 years ago
docs(authors): update author email to remove outdated information
github.com/mochajs/mocha - PauloGoncalvesBH opened this pull request almost 2 years ago
github.com/mochajs/mocha - PauloGoncalvesBH opened this pull request almost 2 years ago
🚀 Feature: Explicit --import support for Node ESM
github.com/mochajs/mocha - GianlucaGuarini opened this issue about 2 years ago
github.com/mochajs/mocha - GianlucaGuarini opened this issue about 2 years ago
fix: ensure that the xunit reporter emits well-formed XML
github.com/mochajs/mocha - malloryavvir opened this pull request about 2 years ago
github.com/mochajs/mocha - malloryavvir opened this pull request about 2 years ago
Addressing Security Concerns in Our Package
github.com/mochajs/mocha - davidz1337 opened this issue about 2 years ago
github.com/mochajs/mocha - davidz1337 opened this issue about 2 years ago
Urgent: Addressing Security Concerns in Package
github.com/mochajs/mocha - RahatFatimah opened this issue about 2 years ago
github.com/mochajs/mocha - RahatFatimah opened this issue about 2 years ago
Mocha parallel breaks pattern of shared before() and after()
github.com/mochajs/mocha - Stono opened this issue about 2 years ago
github.com/mochajs/mocha - Stono opened this issue about 2 years ago
chore: add Node v20 to the CI test matrix
github.com/mochajs/mocha - akashchouhan16 opened this issue about 2 years ago
github.com/mochajs/mocha - akashchouhan16 opened this issue about 2 years ago