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
๐ Repo: Switch from CJS to ESM internally
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 21 days ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 21 days ago
chore: enabled ESLint's no-unused-vars
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 22 days ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 22 days ago
chore(main): release 11.7.2
github.com/mochajs/mocha - github-actions[bot] opened this pull request 23 days ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 23 days ago
feature/ESM configuration file
github.com/mochajs/mocha - thescientist13 opened this pull request 23 days ago
github.com/mochajs/mocha - thescientist13 opened this pull request 23 days ago
๐ Bug: Top level ESM errors get swallowed and do not fail the suite
github.com/mochajs/mocha - samuelhnrq opened this issue 25 days ago
github.com/mochajs/mocha - samuelhnrq opened this issue 25 days ago
feat: detect illegally nested tests (#4525)
github.com/mochajs/mocha - mmorearty opened this pull request 27 days ago
github.com/mochajs/mocha - mmorearty opened this pull request 27 days ago
chore: bump Knip to 5.61.2
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 28 days ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 28 days ago
๐ Bug: original require() errors are masked with an unrelated `ERR_UNKNOWN_FILE_EXTENSION`
github.com/mochajs/mocha - lkho opened this issue 29 days ago
github.com/mochajs/mocha - lkho opened this issue 29 days ago
๐ Bug: chai-as-promised with top-level-await in setup file no longer applies
github.com/mochajs/mocha - perrin4869 opened this issue about 1 month ago
github.com/mochajs/mocha - perrin4869 opened this issue about 1 month ago
test: add test for `--require import-only-loader`
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
chore(main): release 11.7.1
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 1 month ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 1 month ago
๐ Repo: Unused files ignoreDependencies reported by Knip
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
๐ Bug: Mocha 11.7.0 introduces issues loading ECMAScript Modules (ESM) with `ts-node/esm`
github.com/mochajs/mocha - Borewit opened this issue about 1 month ago
github.com/mochajs/mocha - Borewit opened this issue about 1 month ago
๐ Bug: Mocha v11.7.0 fails with error ERR_REQUIRE_ESM
github.com/mochajs/mocha - webJose opened this issue about 1 month ago
github.com/mochajs/mocha - webJose opened this issue about 1 month ago
๐ Feature: toggle diff message short form
github.com/mochajs/mocha - bmarker opened this issue about 1 month ago
github.com/mochajs/mocha - bmarker opened this issue about 1 month ago
๐ Bug: diff formatter stops at first colon
github.com/mochajs/mocha - bmarker opened this issue about 1 month ago
github.com/mochajs/mocha - bmarker opened this issue about 1 month ago
fix: always fallback to import() if require() fails
github.com/mochajs/mocha - mshima opened this pull request about 1 month ago
github.com/mochajs/mocha - mshima opened this pull request about 1 month ago
test: add esm loader test
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
๐ Repo: Add tests for issues discovered with native import() requiring
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
fix: revert "feat: use require to load esm (#5366)"
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
github.com/mochajs/mocha - legendecas opened this pull request about 1 month ago
๐ Bug: Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './esm-register' is not defined by "exports
github.com/mochajs/mocha - erayhanoglu opened this issue about 1 month ago
github.com/mochajs/mocha - erayhanoglu opened this issue about 1 month ago
fix: watch mode using chokidar v4 (#5355)
github.com/mochajs/mocha - Arnesfield opened this pull request about 1 month ago
github.com/mochajs/mocha - Arnesfield opened this pull request about 1 month ago
chore(main): release 11.7.0
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 1 month ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 1 month ago
๐ ๏ธ Repo: Add issue template for performance improvements
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue about 1 month ago
๐ Bug: Mocha's integration tests fail locally, and then tests won't run at all afterward
github.com/mochajs/mocha - jdmarshall opened this issue about 1 month ago
github.com/mochajs/mocha - jdmarshall opened this issue about 1 month ago
fix: watching files outside cwd
github.com/mochajs/mocha - mark-wiemer opened this pull request about 1 month ago
github.com/mochajs/mocha - mark-wiemer opened this pull request about 1 month ago
๐ Bug: Not able to watch files anymore after bumping chokidar to v4
github.com/mochajs/mocha - nescalante opened this issue about 1 month ago
github.com/mochajs/mocha - nescalante opened this issue about 1 month ago
chore(main): release 11.6.0
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 2 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request about 2 months ago
๐ Feature [watch mode]: begin running tests immediately instead of waiting for watcher ready event
github.com/mochajs/mocha - jedwards1211 opened this issue about 2 months ago
github.com/mochajs/mocha - jedwards1211 opened this issue about 2 months ago
๐ Repo: Add "this was included in" comments to issues and PRs upon release
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
chore(main): release 11.5.0
github.com/mochajs/mocha - github-actions[bot] opened this pull request 2 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 2 months ago
๐ Repo: Extend issue templates etc to ensure personal reports
github.com/mochajs/mocha - voxpelli opened this issue 2 months ago
github.com/mochajs/mocha - voxpelli opened this issue 2 months ago
chore(main): release 11.4.0
github.com/mochajs/mocha - github-actions[bot] opened this pull request 2 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 2 months ago
๐ Repo: Test Node 24 in CI
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
feat: use require to load esm
github.com/mochajs/mocha - legendecas opened this pull request 2 months ago
github.com/mochajs/mocha - legendecas opened this pull request 2 months ago
refactor(deps): replace find-up with empathic
github.com/mochajs/mocha - beeequeue opened this pull request 2 months ago
github.com/mochajs/mocha - beeequeue opened this pull request 2 months ago
๐ Repo: Update maintainers guide steps for releases
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 2 months ago
chore: remove prerelease setting in release-please config
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 2 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 2 months ago
docs: added CHANGELOG.md note around 11.1 yargs-parser update
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 2 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 2 months ago
๐ Repo: Intermittent test failures
github.com/mochajs/mocha - mark-wiemer opened this issue 2 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 2 months ago
docs: Deploy new site alongside old one
github.com/mochajs/mocha - mark-wiemer opened this pull request 2 months ago
github.com/mochajs/mocha - mark-wiemer opened this pull request 2 months ago
perf: switch to empathic for config resolution
github.com/mochajs/mocha - 43081j opened this issue 3 months ago
github.com/mochajs/mocha - 43081j opened this issue 3 months ago
๐งน Versioning: Bump minimum Node.js version from 18.18.0 to 20.19.0
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
๐ Mocha 12 Release Plan
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
๐ Docs: Clarify test isolation as out of scope for parallel tests
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
๐ Bug: watching files outside of CWD is broken
github.com/mochajs/mocha - zsalzbank opened this issue 3 months ago
github.com/mochajs/mocha - zsalzbank opened this issue 3 months ago
docs: mention explicit browser support range
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
Feature: ESM configuration file
github.com/mochajs/mocha - ByteB4rb1e opened this pull request 3 months ago
github.com/mochajs/mocha - ByteB4rb1e opened this pull request 3 months ago
๐ Bug: mocha should reload --require'd root hook modules on watch reruns
github.com/mochajs/mocha - jedwards1211 opened this issue 3 months ago
github.com/mochajs/mocha - jedwards1211 opened this issue 3 months ago
chore: move callback and object typedefs to a new types.d.ts
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
feat: bump workerpool from ^6.5.1 to ^9.2.0
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
feat: bump mimimatch from ^5.1.6 to ^9.0.5
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
feat: bump diff from ^5.2.0 to ^7.0.0
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 3 months ago
๐ Repo: Split type declarations into standalone .d.ts files
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 3 months ago
๐ฆ Package: Replace find-up with empathic
github.com/mochajs/mocha - beeequeue opened this issue 3 months ago
github.com/mochajs/mocha - beeequeue opened this issue 3 months ago
๐ Repo: npm releases not marked as latest
github.com/mochajs/mocha - Lightning00Blade opened this issue 3 months ago
github.com/mochajs/mocha - Lightning00Blade opened this issue 3 months ago
fix: print error when internal cli error happens (more helpful than ERROR: null)
github.com/mochajs/mocha - Rob--W opened this pull request 3 months ago
github.com/mochajs/mocha - Rob--W opened this pull request 3 months ago
Backer profile missing from mochajs.org despite OpenCollective support
github.com/mochajs/mocha - gundir1 opened this issue 3 months ago
github.com/mochajs/mocha - gundir1 opened this issue 3 months ago
๐ Bug: Improve support for running TypeScript `.ts` test files with ts-node/esm under ESM entrypoints
github.com/mochajs/mocha - paullewallencom opened this issue 3 months ago
github.com/mochajs/mocha - paullewallencom opened this issue 3 months ago
๐ Docs: v11.1 should note bugfix around yargs quote parsing
github.com/mochajs/mocha - nicojs opened this issue 3 months ago
github.com/mochajs/mocha - nicojs opened this issue 3 months ago
chore(main): release 11.3.0
github.com/mochajs/mocha - github-actions[bot] opened this pull request 3 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 3 months ago
๐ Bug: Mocha producing (almost) empty report in gitlab CICD
github.com/mochajs/mocha - goldenox777 opened this issue 4 months ago
github.com/mochajs/mocha - goldenox777 opened this issue 4 months ago
๐ฆ Package: Bump workerpool from 6 to 9
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump supports-color from 8 to 10
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump strip-json-comments from 3 to 5
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump minimatch from 5 to 9
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump log-symbols from 10 to 11
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump glob from 10 to 11
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ฆ Package: Bump diff from 5 to 7
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
docs: update Node.js version requirements for 11.x
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
๐ Docs: Update stated Node.js version range
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
chore(main): release 11.2.2
github.com/mochajs/mocha - github-actions[bot] opened this pull request 4 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 4 months ago
[WIP] docs: switched API docs to typedoc and starlight-typedoc
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
docs: add example/tests.html to docs-next
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
docs: add ClientRedirects.astro
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
fix: switch from ansi-colors to picocolors
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this pull request 4 months ago
chore: Revert "chore: "Force" Netlify to use npm to build new site"
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
chore: "Force" Netlify to use npm to build new site
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
chore: Fixup Netlify config to deploy new site
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
๐ Bug: Syntax error with @babel/register, JSX and latest Node.js 20 LTS (require ESM) only when run via Mocha
github.com/mochajs/mocha - mbtts opened this issue 4 months ago
github.com/mochajs/mocha - mbtts opened this issue 4 months ago
chore(main): release 11.2.1
github.com/mochajs/mocha - github-actions[bot] opened this pull request 4 months ago
github.com/mochajs/mocha - github-actions[bot] opened this pull request 4 months ago
๐ Repo: New site isn't deployed to mochajs.org/next
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
๐ Bug: Node.js v23 testing with .ts files
github.com/mochajs/mocha - legendecas opened this issue 4 months ago
github.com/mochajs/mocha - legendecas opened this issue 4 months ago
chore: use style-less `neostandard` as base for linting
github.com/mochajs/mocha - voxpelli opened this pull request 4 months ago
github.com/mochajs/mocha - voxpelli opened this pull request 4 months ago
docs: fix new website typos, improve readability
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this pull request 4 months ago
๐ Docs: Update recommended tools
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
๐ Docs: Add an `/example/tests` page to the new website
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ Docs: Migrate `/api` docs or an equivalent from the old site to the new one
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ Docs: New website proofreading
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
Docs: Fix npm version badge when image doesn't load
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
๐ Docs: Add JavaScript-based redirects for old `#` headings to the new website
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ Docs: Switch the new website to be the primary one
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ Docs: Add a banner/notice to the current site linking to the new site
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
๐ Docs: Add docs-next to a subdomain or URI like mochajs.org/next
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
github.com/mochajs/mocha - JoshuaKGoldberg opened this issue 4 months ago
chore: use `neostandard` as base for linting
github.com/mochajs/mocha - voxpelli opened this pull request 4 months ago
github.com/mochajs/mocha - voxpelli opened this pull request 4 months ago
Repo: Move to neostandard instead of ESLint recommended
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
github.com/mochajs/mocha - mark-wiemer opened this issue 4 months ago
๐ Bug: `ExperimentalWarning` and `DeprecationWarning`
github.com/mochajs/mocha - khteh opened this issue 5 months ago
github.com/mochajs/mocha - khteh opened this issue 5 months ago