Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/mochajs/mocha

☕️ simple, flexible, fun javascript test framework for node.js & the browser
https://github.com/mochajs/mocha

Consistent handling of --forbid-only for suites and tests (#4282)

* implement markOnly method for suite class

* add test cases to cover suites markOnly method
...

ca1cfc4caa6bcb94aa2d99c7dbab5ced06fb91dd authored over 4 years ago by Arvid Ottenberg <[email protected]>
update docs regarding ESM and root hook plugins

Signed-off-by: Christopher Hiller <[email protected]>

0a66259da0de490c002cb70ab2183556a88c7699 authored over 4 years ago by Christopher Hiller <[email protected]>
fix bad error message when incorrectly using ESM

- re-enable parallel-mode root hook plugin tests
- refactor root hook plugin tests to avoid flak...

9881ace56715c51ce04762aa55de388f77a08809 authored over 4 years ago by Christopher Hiller <[email protected]>
add docs for parallel and root hooks

> this PR needs the changes from the `boneskull/issue/2839-11ty-changes` branch

63eb80bd4907ac87b5cbde054ad8e6112fdcb939 authored over 4 years ago by Christopher Hiller <[email protected]>
Support --require of ESM; closes #4281 (#4304)

* Support --require of ESM; closes #4281
Allow files/modules specified in `--require` to be ESM...

273dbbbf4c21debded604c2094591bdbcbed7705 authored over 4 years ago by JacobLey <[email protected]>
add support for running tests in parallel mode

* add support for running tests in parallel mode

> (this PR depends on most other PRs linked to...

2078c3203f55ee0e1783dc2fc9e20ac51dcb6896 authored over 4 years ago by Christopher Hiller <[email protected]>
renamed smoke test

- add notes about what it is intended to do, and what it cannot do

Signed-off-by: Christopher H...

6d60eb01dae2b609bcf7976dc5975670201b7f46 authored over 4 years ago by Christopher Hiller <[email protected]>
Release v7.2.0

283b11ea1fef1344aea2a0ad01fe882efcf5e3d8 authored over 4 years ago by Craig Taub <[email protected]>
update CHANGELOG for v7.2.0 [ci skip]

1a2e693333621713b980708ee492639ff1e3b106 authored over 4 years ago by Craig Taub <[email protected]>
fetch sponsors at build time, show ALL non-skeevy sponsors; closes #4271 (#4272)

* Show all sponsors on site

- change ordering: sponsors, then backers
- blacklist bad actors...

12b130b10e7ed1ee40e8becec3ca75066314fc43 authored over 4 years ago by Christopher Hiller <[email protected]>
multiple async done() calls result in failure; closes #4151 (#4152)

- added a method in `errors` module to create a "multiple done" err
- modernize `multiple-done....

cb5eb8ed42abfd0d63c5013353843f1208ff6582 authored over 4 years ago by Christopher Hiller <[email protected]>
add Root Hook Plugins

(documentation will be in another PR)

Adds "root hook plugins", a system to define root hooks v...

722ce01268e83ce33f2feef93f25fd65e7b0c2c8 authored over 4 years ago by Christopher Hiller <[email protected]>
do not commit generated content to VCS; closes #3713 (#4289)

* do not commit generated content to VCS

This removes `markdown-magic` and replaces its funct...

ca0daa36c241d929f511a292f5471bd213aedb9f authored over 4 years ago by Christopher Hiller <[email protected]>
smart quotes and such on website; closes #3716

I do not know if this actually works, but it might.

Signed-off-by: Christopher Hiller <boneskul...

68eec9e244e32b9b796c472be5ba9bcd70b9ec8b authored over 4 years ago by Christopher Hiller <[email protected]>
add javascript in docs to eslint

442cf5fccc3545759350e72b276e542e205b12b9 authored over 4 years ago by Christopher Hiller <[email protected]>
fix improper warnings for invalid reporters (#4275)

* fix improper warnings for invalid reporters

also: reorganize, add, and refactor a bunch...

1a4646dd2f7b35010c2488edcb2d5f4cfb2f14a8 authored over 4 years ago by Christopher Hiller <[email protected]>
fix test/unit/hook.spec.js (#4288)

* fix test/unit/hook.spec.js

`Function.prototype.name` is not available in IE11, and will cau...

81e203c8906a858e7648be0914cb8e8dbc35622f authored over 4 years ago by Christopher Hiller <[email protected]>
--forbid-only doesn't recognize `it.only` when `before` crashes (#4256); closes #3840

* add fixtures that result in it.only combined with --forbid-only bug

* adapt forbidonly test...

184036f00878c041252601d5959bf86b2d8d80b6 authored over 4 years ago by Arvid Ottenberg <[email protected]>
Add ability to run tests in a mocha instance multiple times (#4234); closes #2783

* Add ability to run tests in a mocha instance multiple times

* Rename `autoDispsoe` to `clea...

fbe3ce4f7d5c27fec3fa1e32ee86b23b169e02d2 authored over 4 years ago by Nico Jansen <[email protected]>
Remove enableTimeout api + allow overriding a disabled timeout (#4260)

* Reset enableTimeouts. Integration test

* Spec update

* Use function which logs

* Remo...

c0137eb698add08f29035467ea1dc230904f82ba authored over 4 years ago by Craig Taub <[email protected]>
fix: check if module.paths really exists (#4194); closes #2505

8b6a76c8dc64e8a16f3c995f22a53fbc86b3f173 authored over 4 years ago by Emanuele <[email protected]>
rename fixtures to have .fixture.js extension

65daa9a4d26d3a2163510f5cd8b79bce117710ee authored over 4 years ago by Christopher Hiller <[email protected]>
test helper improvements (#4241)

* test helper improvements

- enables `RawResult` (the result of `invokeMocha()` or `invokeMoc...

240cb3d245c74f525b3612a56472b1d89304820a authored over 4 years ago by Christopher Hiller <[email protected]>
assorted test fixes & refactors (#4240)

- increase default timeout for wiggle room
- specify `watch-ignore` in case we run our own test...

2509ab5f261e22bfd4bad10e59002cd8878c19d9 authored over 4 years ago by Christopher Hiller <[email protected]>
Exposing filename in JSON, doc, and json-stream reporters (#4219)

* Exposing filename in JSON reporter

* Added filename to json-stream reporter

* updated te...

9c965c910e54d588abee688da813cc0a014c6b49 authored over 4 years ago by Daniel0113 <[email protected]>
adds a bunch of keywords

Did you know that if you click on the "testing" icon on npmjs.com, Mocha is completely absent?

...

14da63ab4a6aa15194c4d4f797de058880663f26 authored over 4 years ago by Christopher Hiller <[email protected]>
Fix missing dot in name of configuration file

b5e71834a00af7e7394d1bbd1b33efc475d10df1 authored over 4 years ago by Jakob Krigovsky <[email protected]>
refactor validatePlugins to throw coded errors

- add `createInvalidPluginError` for reporters, UIs, and future plugins
- ensures the original e...

400bf9b9319bdf8f0d9aa05ff8c7a54f6fe65d2a authored over 4 years ago by Christopher Hiller <[email protected]>
Update @mocha/docdash to 2.1.3

8bc7579579730a5d1e7dc56e84f515c9ee949e87 authored over 4 years ago by Craig Taub <[email protected]>
Mark HTTP 429 responses as allowed failures in hyperlink check. We sometimes get these from unpkg and it shouldnt block out builds (#4253)

e7add63e733d79969a43ea5a93f3ccff5a722c60 authored over 4 years ago by Peter Müller <[email protected]>
update CHANGELOG for v7.1.2 [ci skip]

46f727ec98d322af29e7a75c678b23bdd276e1b5 authored over 4 years ago by Juerg B <[email protected]>
add test case: type check before calling retriedTest()

4c0231c7929b70722a143359e3e5f6eb37f1f490 authored over 4 years ago by Christopher Hiller <[email protected]>
type check before calling retriedTest()

13e94b1511ff3ecbb69472f3f92ac7bf889d11a2 authored over 4 years ago by juergba <[email protected]>
fix nyc ignorelist

should keep more garbage out of the coverage

Ref: #4198

27b799e2645964b96c2675e4eef815d910f90107 authored over 4 years ago by Christopher Hiller <[email protected]>
better debug output

- make sure that template strings aren't used in debug statements, since they are eager

Ref: #4198

a2efd11a245d369231f131343406940aa291f0f8 authored over 4 years ago by Christopher Hiller <[email protected]>
travis: add job names, add Node.js v14 to matrix

- fix webhooks
- remove webhook for `mochajs/mocha`
- add v14 to Appveyor

Ref: #4198

a94e2d32135e0e6ede9baa2bdb7fd24e1fd56122 authored over 4 years ago by Christopher Hiller <[email protected]>
fixes some signal handling

- `landing` reporter befouls the terminal up if `SIGINT` is issued
- `--exit` test used an incor...

284b411634f8ae463603f64eecd487898ad63e67 authored over 4 years ago by Christopher Hiller <[email protected]>
enable emoji on website; enable normal ul elements

grouped these together:

- Site can now use emoji :party:
- Using the `.single-column` class wil...

de759d1d87033232f40d64772ed076445006c58a authored over 4 years ago by Christopher Hiller <[email protected]>
refactor Test: add markOnly() for encapsulation (PR #4249)

* add markOnly instance method to test class

* add test cases for markOnly method

* use ma...

5f9400df1d0c650e585486e7640f72a7c585e8c2 authored over 4 years ago by Arvid Ottenberg <[email protected]>
remove cruft from wallaby config

also increase default timeout

Ref: #4198

6838eaf66b94445e314f087ec407d7e2b5bf1fb5 authored over 4 years ago by Christopher Hiller <[email protected]>
Remove Runnable#inspect() and utils.ngettext() (#4230)

38d579ac4156545c21a027bba640d49428d6bcfb authored over 4 years ago by Juerg B <[email protected]>
Improve hook pattern of 'this.skip()' in beforeAll (#4223)

8236ffd7494c368cbc1989fec73021f0e07008bc authored over 4 years ago by Juerg B <[email protected]>
Update prod dependencies and remove 'node-environment-flags' (#4214)

54475eb4ca35a2c9044a1b8c59a60f09c73e6c01 authored over 4 years ago by Juerg B <[email protected]>
update CHANGELOG for v6.2.3 [ci skip]

c5fc2bee0e15299825508743b25f596dff710120 authored over 4 years ago by Juerg B <[email protected]>
Update devDependencies and Travis (#4211)

* update devDependencies
* fix linting error
* .lintstagedrc.json: advanced to simple format
...

0e77e4178f7dd39ec75eda6b0c2b77a138f9fa45 authored over 4 years ago by Juerg B <[email protected]>
add wallaby logo to bottom of site

6320d3df4df7368d784f4b6b511e06d036370dfe authored over 4 years ago by Christopher Hiller <[email protected]>
Drop mkdirp and replace it with fs.mkdirSync (#4200)

- Replace mkdirp with fs.mkdirSync using {recursive: true}
- Drop the dependency mkdirp from Mo...

f87825a2e7ed2af79c0393cfd76bd73edebcc1d9 authored over 4 years ago by HYUNSANG HAN <[email protected]>
update CHANGELOG for v7.1.1 [ci skip]

c1a8adb1caa5093b05020762a7ab8e1a119a6990 authored over 4 years ago by Juerg B <[email protected]>
security: update mkdirp, yargs, yargs-parser (#4204)

dfaa65440789ec16fcbcdf6437ca0f5d20873686 authored over 4 years ago by Juerg B <[email protected]>
Remove configuration via 'mocha.opts' (#4175)

2f264784d22277efa99244a8615ce2a1830b2d3c authored over 4 years ago by Juerg B <[email protected]>
Remove deprecated methods in mocha.js (#4178)

Remove following methods and cleanup.
- Mocha.prototype.ignoreLeaks
- Mocha.prototype.useColor...

6aeeb33908a5fa8f02e90676273ea40e65d8ddc6 authored over 4 years ago by kundol <[email protected]>
Drop node.js v8 support (#4164)

c7f5e882b6ff14f0959340396072379b0319f00c authored over 4 years ago by Ulises Gascón <[email protected]>
Fix: runner listening to 'start' and 'end' events (#3660)

e1389efd949f57e0ee32c7b52df09d5040464084 authored over 4 years ago by Juerg B <[email protected]>
upgrade assetgraph-builder

this addresses many `npm audit` issues. will it work on netlify?

9cbb6f63f9103af40d08a9bc14eefdee7b907a3f authored over 4 years ago by Christopher Hiller <[email protected]>
docs: show netlify badge on footer (#4190)

Signed-off-by: Outsider <[email protected]>

4dc3cd1cd3dbae13f81d4d0e1386dcee67e25194 authored over 4 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
Release v7.1.0

09b948bd899e39a684dd6e2d871ea3fc77f9aee0 authored over 4 years ago by juergba <[email protected]>
update CHANGELOG for v7.1.0 [ci skip]

d43092e0b9768e392492a47a4069b3e0ff9ed9a6 authored over 4 years ago by juergba <[email protected]>
Add support for Node.JS native ES modules (#4038)

57be4558eac737efae9ea67bee5de6e9f4fd6b0c authored over 4 years ago by Gil Tayar <[email protected]>
Fix: programmatic API cannot access retried test objects (#4181)

a995e3324b9da02c9cda8ad26e2695a853c28f30 authored over 4 years ago by Juerg B <[email protected]>
Browser: fix 'allowUncaught' handling (#4174)

ac12f2c9a41f6952f085453a9c25c439813e58d4 authored over 4 years ago by Juerg B <[email protected]>
uncaughtException: refactor, move and add tests

2ff1cb23689d193c7ed1498b0d44588558b5585d authored almost 5 years ago by Juerg B <[email protected]>
docs: update browser options

b431609f01c8d6e7399ab592d6df1a319f81eea7 authored almost 5 years ago by Juerg B <[email protected]>
ESLint: use 'const' instead of 'let'

883ae4b5e1aacd8cf30694da33b391ce58f4cca8 authored almost 5 years ago by Juerg B <[email protected]>
Upgrade: ESLint v6.8 (#4138)

2a1b6372ed176832ae0818e8758c172b7131e081 authored almost 5 years ago by Kai Cataldo <[email protected]>
Manage author list in AUTHORS instead of package.json (#4058)

Signed-off-by: Outsider <[email protected]>

dbba276826f149e15dd8c78dbb478a8e798fe205 authored almost 5 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
Release v7.0.1

d0f04e994f3e78939f0a947ef064881c7fec5188 authored almost 5 years ago by juergba <[email protected]>
update CHANGELOG for v7.0.1 [ci skip]

2277958e32f48bed10f0cb2ceaf01e7b8045af35 authored almost 5 years ago by juergba <[email protected]>
Fix exception when skipping tests programmatically (#4165)

0be3f78491bbbcdc4dcea660ee7bfd557a225d9c authored almost 5 years ago by Juerg B <[email protected]>
uncaughtException: fix recovery when current test is still running (#4150)

c0f1d1456dbc068f0552a5ceaed0d9b95e940ce1 authored almost 5 years ago by Juerg B <[email protected]>
Fix backwards compability break for reporterOptions

9c10adab3340abd8baff147cb595256234d88de6 authored almost 5 years ago by Christian Holm <[email protected]>
Throw a descriptive error when a non-function is given to a runnable (#4133)

Given a test such as:

```js
it('foobars', 4);
```

mocha used to throw the following erro...

a24683fd9273d0896a177d70c2368ada4f2c4882 authored almost 5 years ago by Zirak <[email protected]>
update copyright & trademark notices per OJSF; closes #4145

- made footer responsive
- made matomo & openjsf logos responsive
- remove `target="_blank"` sin...

579fd09db39a55b44c1f553df05c918bc62867be authored almost 5 years ago by Christopher Hiller <[email protected]>
Fix leaking global 'uncaughtException' handler (#4147)

0e1ccbb915ba8c2f73134af5bebd357f3329b9b7 authored almost 5 years ago by Juerg B <[email protected]>
Broken links in docs (#4140)

* docs: change link of 'should' in index.md

* docs: shorten links of npm packages in index.md

7d78f209c6a4f8ef4eba584fe10515fd3901830e authored almost 5 years ago by KyoungWan <[email protected]>
Release v7.0.0

69339a3e7710a790b106b922ce53fcb87772f689 authored almost 5 years ago by juergba <[email protected]>
update CHANGELOG for v7.0.0 [ci skip]

99e085f1fb924deeb87290adb476f4e375e72392 authored almost 5 years ago by juergba <[email protected]>
Add reporter alias names to docs (#4127)

35cf39b14eae6dbd1fb364c215093095d5912ebc authored almost 5 years ago by Hugo Kim <[email protected]>
Forbid this.skip() within afterAll hooks (#4136)

3bd2d28bfc99b5f71efc9ef332ae9ac4a5d90de8 authored almost 5 years ago by Juerg B <[email protected]>
Fix hook pattern of this.skip() in beforeEach hooks (#3741)

24c22bef53e4539dd17b0d3b2123953bb8a3a883 authored almost 5 years ago by Juerg B <[email protected]>
XUnit reporter should handle exceptions during diff generation (#4068)

1412dc80d87d0479f7f1d60202da2b33c90eb939 authored almost 5 years ago by Rens Groothuijsen <[email protected]>
Update node-environment-flags to 1.0.6 (#4118)

node-environment-flags 1.0.5 and lower do not contain a LICENSE file
which can make compliance ...

d9f5079b3b26c61fec3329a902dea00ccc961f70 authored almost 5 years ago by Kyle Fuller <[email protected]>
Changed docs index.md on Typescript and Babel link (#4129)

25363e628af793841e2911f61b64b95bf8c6ebaf authored almost 5 years ago by Saerom Bang <[email protected]>
Fix timeout handling with `--inspect-brk`/`--inspect`

d4adfa6364dff21c37e8632c3bfc9288c9938f42 authored almost 5 years ago by Juerg B <[email protected]>
Type "rs\n" to restart tests, fixes #871 (#3979)

* Type "rs\n" to restart tests, fixes #871

Although the `--watch` feature is somewhat controv...

aab855538fe23720f59f577b4f71d18c5298e4aa authored almost 5 years ago by Robert Kieffer <[email protected]>
initial draft of project charter [ci skip]; closes #4087

PR: #4088

03b58f25afff19f35c4179a6f7e9adb02671d90a authored almost 5 years ago by Christopher Hiller <[email protected]>
Update eslint parsing to ES2017

8c5ed3a80ee38418e680522d12c55df08ca5aa8e authored almost 5 years ago by Juerg B <[email protected]>
Update Chokidar to v3.3.0

2f10309e16123aae49c58cc29c1bf5de77d147fa authored almost 5 years ago by Juerg B <[email protected]>
add Node v13 to CI test matrix

e4e126f184e95a38b135f554616f9c028427f588 authored almost 5 years ago by juergba <[email protected]>
make uncaughtException test more stable (#4107)

47dcc5f325e31267fad47e2b14e27707d7db7528 authored almost 5 years ago by Juerg B <[email protected]>
Add a description for installing GraphicsMagick or ImageMagick in docs/README.md (#4045)

* Add a troubleshooting in README for an error about gm

* Solve linting

* Change dirname f...

2e816fe61272bb856583ae7daa96de2510b0386f authored almost 5 years ago by HYUNSANG HAN <[email protected]>
docs: clarify invalid usage of done() (#4101)

When I first read
"anything else will cause a failed test"
I considered that this might be a ...

ebdee973a1c8f048bdb9d62dbfec8b55791fea95 authored almost 5 years ago by Jan-Philip Gehrcke <[email protected]>
Change sh to bash for code block

2e9c28a62ce38af104029673fc853f2fe00e5ed2 authored almost 5 years ago by HyunSangHan <[email protected]>
Add GH Funding Metadata

2de0618b56a43601d58c4e3ae3fcda2c14e11257 authored almost 5 years ago by SheetJSDev <[email protected]>
docs: Replace :coffee: with emoji (#4092)

dca588da9a78b526454544c7e30891b1a3346e5a authored almost 5 years ago by Peter Schmidt <[email protected]>
uncaughtException: fix when current test is pending (#4083)

46ca9ac55b57e15e04488a0437314cc1a6bbb366 authored almost 5 years ago by Juerg B <[email protected]>
Add funding information to package.json

See https://github.com/npm/rfcs/blob/latest/accepted/0017-add-funding-support.md

b9fbd69168183836f3f5b72e46e34005d6558e3a authored about 5 years ago by Peter Müller <[email protected]>
Mocha constructor: improve browser setup (#4070)

ec8e2f8b5e5dcb6857f52784b30047099d9b9eae authored about 5 years ago by Juerg B <[email protected]>
fix sponsors background color for readability (#3988)

Signed-off-by: Outsider <[email protected]>

503d0172a4b6a4edee900e7c6e67034959e1a359 authored about 5 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
2595 Changed runMocha to runMochaJSON in test/integration (#4077)

* duplicate-arguments

* suit.spec.js

* ui.spec.js

* lint error fixed

f73e7c681699a72a1b6b4d8db5c3af9ceccce66f authored about 5 years ago by Soobin Bak <[email protected]>
6.2.2

8a0b38babcca47e6c02c16223a992b88d836811b authored about 5 years ago by Christopher Hiller <[email protected]>