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
* Quote `child_process.execSync` executable to allow for embedded spaces in pathname.
735161ffdb639cca94665f08c302b680fe199edb authored over 5 years ago by P. Roebuck <[email protected]>e6542538aa10c6137babf96d9ddc851fc6595ad3 authored over 5 years ago by Christopher Hiller <[email protected]>
b27bc60224552b74852161405d15765b9fb59ef2 authored over 5 years ago by Peter Müller <[email protected]>
* set allowUncaught on hooks
* add test: hooks swallow uncaught exceptions
* PR feedback
a0c03e353afda87580e814b519d9b8011f281d13 authored over 5 years ago by Gastón I. Silva <[email protected]>* removed shortcut from favicon, added external tag to hrefs and tweaked logo
* made fixes ou...
df1937b3978bc3d3ae03a75623affc6ce8939035 authored over 5 years ago by P. Roebuck <[email protected]>
- eat `Pending` errors bubbling up to uncaught handler, as intended
- fix cheating tests
The semver compliant ones, i.e. no major version bump.
This fixes 68 vulnerabilities (93 -> 25).
754cbf997137278dd20a608052a0428fc3e50b76 authored over 5 years ago by XhmikosR <[email protected]>2c626ca6d26160104a1def2ffb25a107046e71de authored over 5 years ago by P. Roebuck <[email protected]>
Fixes support for multiple node flags
02ca6963a0b551919afc39c21139d8e093545d4d authored over 5 years ago by Adam Ginzberg <[email protected]>22831c5bdbcd751d08804097fa04910c96ed6903 authored over 5 years ago by Sylvain <[email protected]>
9e95d36e4b715380cef573014dec852bded3f8e1 authored over 5 years ago by P. Roebuck <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
bb27fe631a9dbb5b536de7a74f7881b904547287 authored over 5 years ago by Christopher Hiller <[email protected]>00a895f6ad9c1e4c5500851d6ff875e8254a5e06 authored over 5 years ago by Christopher Hiller <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
1edce76eb88c2c04dee604efc10552b0a7d5e637 authored over 5 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
347e9db3b40eb22bcbc23a026d9915c77040b897 authored over 5 years ago by Christopher Hiller <[email protected]>9e31e9dcfd45b958aa14961f35abbff8f7ea2b1b authored over 5 years ago by Christopher Hiller <[email protected]>
6535965e8655a66de54fc0ad9465c2eb825f13f8 authored over 5 years ago by P. Roebuck <[email protected]>
* improve issue template.
* add api documentation
* add MCVE guide
* enhance bug report templ...
6d3d6b4d5262f9d6374a887834224eb729890b4d authored over 5 years ago by Christopher Hiller <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
2146ecea38974334c5671561f26788556f1b521b authored over 5 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
7c9221d4b8e999bfc0069fde2c0fcfa8e5e89146 authored over 5 years ago by Christopher Hiller <[email protected]>b7cfceba05fd16ccfe71ce9f68251730a13f833f authored over 5 years ago by Christopher Hiller <[email protected]>
b836d7332a449455c49ac4c9616ed093bb5b9a61 authored over 5 years ago by Brian Tomlin <[email protected]>
move all ui-related tests into `test/integration/options/ui.spec.js`
7926f47b7cdc511f52d89fabecb1439118df61f9 authored over 5 years ago by Christopher Hiller <[email protected]>00f2ed9488564172c81a888c81f69ef39abf21c8 authored over 5 years ago by Christopher Hiller <[email protected]>
The old glob 'test' would allow 'test.js' to be used by default (rather than requiring file be
p...
* Rename mocharc.js to .mocharc.js
* Rename mocharc.json to .mocharc.json
* Rename mocharc...
6d5a0db678849d58a3b7d372ca0683753e64f1fc authored over 5 years ago by Szauka <[email protected]>42303e2acba217af554294b1174ee53b5627cc33 authored over 5 years ago by Craig Taub <[email protected]>
a553ca70287f407abd4a82180e4a1155b8730756 authored over 5 years ago by Craig Taub <[email protected]>
c7107926b3a546960e841b0339bf4a3b85170c4c authored over 5 years ago by Craig Taub <[email protected]>
9f9293a0db44ce41e1bd9cc38d68e3d7a1010f41 authored over 5 years ago by Craig Taub <[email protected]>
a540eb06f23135db563a6b2bd2e0b3b51583fde7 authored over 5 years ago by Christopher Hiller <[email protected]>
'Nuff said.
52b5c42c3dda8c386735969642843bd1129a4562 authored over 5 years ago by P. Roebuck <[email protected]>
* Removed falsy values from `.globals` using filter for "undefined"/empty string values.
* Adde...
The post-processing code `split('\n').join('\n')` does not change nor check anything
56dc28e62f63903632d5fe4169b52cb2cdb5f7ea authored over 5 years ago by Wanseob Lim <[email protected]>
* Replaced inline URLs with cross-references.
* Updated HTML examples
* Replaced '--' with em-...
5d9d3eb665825ea69435388f5776150f40c844be authored over 5 years ago by Corey Farrell <[email protected]>
* Refactor out usages of Suite#_onlyTests and Suite#_onlyTests (#3689)
* Mark new Suite metho...
118c9aeab5b6192d627b0b369e43584ab8f9f0b7 authored over 5 years ago by Valeri Karpov <[email protected]>
* Implemented `Mocha.unloadFile` and `Mocha#unloadFiles`.
* Added feature tests, as well as one...
Signed-off-by: Christopher Hiller <[email protected]>
66a52f25cafd266ab3cce2db975a560a695ecae9 authored over 5 years ago by Christopher Hiller <[email protected]>
* Extract `lookupFile` conditions into functions.
* Rename functions/variables to match intent;...
Signed-off-by: Christopher Hiller <[email protected]>
94c932095b4b8e8a7a5d9dde93ad2172d95f5ebe authored almost 6 years ago by Christopher Hiller <[email protected]>
* Added sQuote() and dQuote() functions for quoting text inline
* Added ngettext() function for...
Signed-off-by: Christopher Hiller <[email protected]>
2d21fd6f1bd7dbf16da8027cd8a92ebee89cdf15 authored almost 6 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
6cb4e27a7a9c2c5f53659d49348d45b1a27f00f7 authored almost 6 years ago by Christopher Hiller <[email protected]>
- updated error code table in docs
- all other changes in docs are from prettier
- updated `...
- Updates events test to match correct event order
- Add test for retries-and-bail case
- Spli...
This seems to make `--inspect` work properly with or without a parameter (`--inspect=0.0.0.0:123...
21ba5ce8b2be76277a690d3e164948754e94c1e6 authored almost 6 years ago by Christopher Hiller <[email protected]>
- also a few other string literals got replaced, but not error messages nor codes
- supporting r...
Made consistent that all listener function arguments were distinct from the variables being pass...
29aa61179ef2b4b0ea3ba57304e2bbe20b095171 authored almost 6 years ago by P. Roebuck <[email protected]>e01a54eb2e5d28104625c15df641801747533b63 authored almost 6 years ago by Christopher Hiller <[email protected]>
* Refactored portions of tests for increased clarity.
* Updated code to run all stacktrace test...
Signed-off-by: Christopher Hiller <[email protected]>
a406503dad179b0a2514a5fac8718f855b0ee3b1 authored almost 6 years ago by Christopher Hiller <[email protected]>When the stacktrace begins with a large `Error.message` (single or multi line), Mocha's stack pr...
1a43d8b11a64e4e85fe2a61aed91c259bbbac559 authored almost 6 years ago by Chen Yangjian <[email protected]>Signed-off-by: Outsider <[email protected]>
7fee3a367afeb2c43c35f27a9f27306ff6e3a7ca authored almost 6 years ago by Outsider <[email protected]>* ensure --debug becomes --inspect; closes #3697
- add some handiness to the integration test...
c91b3254dc08f792225f3a06200c05cd247268ac authored almost 6 years ago by Christopher Hiller <[email protected]>
### Description of bug
Mocha shows an incorrect test-title if a nested `before` hook fails. For...
Signed-off-by: Christopher Hiller <[email protected]>
1e305012428dafc72a664623553cc1783ceddaff authored almost 6 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
8b7e3da4aec3feac80ae0fcbcdaf7d04c26cc3bd authored almost 6 years ago by Christopher Hiller <[email protected]>91ca36700a46e00e175a8420362aad31378f4e74 authored almost 6 years ago by Christopher Hiller <[email protected]>
It has been deprecated for two years and will soon display
warnings or even be removed.
https:/...
27688bca42a1bb15da82debaebc3fe13024ca7ce authored almost 6 years ago by Andreas Lind <[email protected]>* refactor(integration/options.spec.js): Reorder top-level test suites lexically
Reordered ea...
57930a290c53f2d9b5f2be9797a08062b913f552 authored almost 6 years ago by P. Roebuck <[email protected]>0899fdda8a6a16916ab9e563dc1dd49236b8674f authored almost 6 years ago by Christopher Hiller <[email protected]>
b5d8513887e71477861db74a43b0d84fd191f313 authored almost 6 years ago by Christopher Hiller <[email protected]>
c19832985d08d3764ea1fdda0976024c7d31bfab authored almost 6 years ago by Christopher Hiller <[email protected]>
* do not recursively call `process.exit()`
When inside `process.on('exit')`, calling `process...
0f95a7d73355ce9ab299c9f8dfa983b897ecf2fc authored almost 6 years ago by Anna Henningsen <[email protected]>see https://github.com/istanbuljs/nyc/issues/973
Signed-off-by: Christopher Hiller <boneskull@b...
1abfef606d7a72c2f73c06805d6c11211315486b authored almost 6 years ago by Christopher Hiller <[email protected]>
Scenario where multiple files (all) are not found only show a single message.
I feel its useful...
* Add eleventy as a static site generator
* Code syntax highlighting, header anchors and fix ...
fb59d982ab0e7710cf34a1a99c01b148014d71b3 authored almost 6 years ago by Peter Müller <[email protected]>Added test for invalid reporter option for `tapVersion`.
c8383157b4970dbe892a18ac089dcc1ad2fc3af9 authored almost 6 years ago by Paul Roebuck <[email protected]>### Requirements
* Filling out the template is required. Any pull request that does not inclu...
414bc1e184358cac886a3649fa2a610b7cb35cd8 authored almost 6 years ago by Valeri Karpov <[email protected]>635ecd1cf25aebdd42611b065fe57522e08be243 authored almost 6 years ago by Christopher Hiller <[email protected]>
* suite constructor
* tests
* suite.js corrections and new tests
e2d49295c12432e08a929aa80c02cf87f2405a0f authored almost 6 years ago by Juerg B <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
0a86e6f4a7d1724782d2cc4695ac6422bae94f37 authored almost 6 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
1786e6e7c9d6ab57712cd13acb7734a50be92d1f authored almost 6 years ago by Christopher Hiller <[email protected]>f223298b869e1a7f333678b37e3d2772efecc63d authored almost 6 years ago by Christopher Hiller <[email protected]>
No order is implied via fs.readdir(). Different OS/filesystem combinations can give different re...
9d62030046443a68b875f93132a116b58bdfe829 authored almost 6 years ago by P. Roebuck <[email protected]>* runner: basic events test
* tests basic, bail, retries
* delete first test
cb1c6b013c6c789e190081801bc628a18f81ba1b authored almost 6 years ago by Juerg B <[email protected]>* error and exit, dont warn
* return after error dont exit yet
* remove superflous message...
fc0507ed742cb7ab54bcf60f88a0ea0c64b38289 authored almost 6 years ago by Craig Taub <[email protected]>9887f0cc239294b5b5befd7027aadbdb51f4595c authored almost 6 years ago by Martijn Cuppens <[email protected]>
66aea83d2379770658e93b82eaddd62ead8ea3a4 authored almost 6 years ago by Valeri Karpov <[email protected]>
I was testing Mocha's compatibility with the upcoming version of Unexpected. For
that version we...
1f325e746033f698c6a040329a2fd7670daaf274 authored almost 6 years ago by Christopher Hiller <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
708de2dd89f37289f667e0baa1837672b641461c authored almost 6 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
56c6326a12d6de5c7a089de7999d4359a954cdce authored almost 6 years ago by Christopher Hiller <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
d34ff8105d780c72a4148552fa2c77ecf0e73df4 authored almost 6 years ago by Christopher Hiller <[email protected]>8de7faee428a4cdce93665f2db749eb3a7436a0e authored almost 6 years ago by Christopher Hiller <[email protected]>
12773c8e0a6fbd1f74d4559678f461a4d286b93d authored almost 6 years ago by Christopher Hiller <[email protected]>
Signed-off-by: Christopher Hiller <[email protected]>
9da1bbbfa4a9f2a3814e340156a4d6ccf8609156 authored almost 6 years ago by Christopher Hiller <[email protected]>
- add linkifier script
- `package-lock.json` updates
- use exact version of `supports-color`
* add MochaError and use
add missing E
add codes to docs
how to add new error
E_ to ...
0810441ca445b40ae16ec4bfc14e35d7a68fff13 authored almost 6 years ago by Craig Taub <[email protected]>- refactor to use modern JS in `lib/growl.js`; update ESLint rules accordingly
Signed-off-by: C...
360656d84a2fdd55c0e663aac39910041399e4bb authored almost 6 years ago by Christopher Hiller <[email protected]>* ensure coverage data not cached between execution calls to npm test
* wallaby: disable debu...
471b7f45e522ca7c7f1e6905e2ddb7b1d13ee13b authored almost 6 years ago by Christopher Hiller <[email protected]>
- made fixture helper smart
- support empty args in run helpers
Signed-off-by: Christopher Hill...
273f4790ea80ffda6f4509822b86f5f8cb183103 authored almost 6 years ago by Christopher Hiller <[email protected]>* Fix an error when fn===undefined
This change fixes an error that occurs when reporter is 'x...
ee6d5761f8d2eea4b12de4f5834a2f03c4c63a7c authored almost 6 years ago by Svetlana <[email protected]>Signed-off-by: Christopher Hiller <[email protected]>
e825be7c5920a1eb24562c4e027e4997b86f5861 authored almost 6 years ago by Christopher Hiller <[email protected]>
Added (minorly brittle) means to verify prerequisite software
is installed. Migrated Growl supp...
Changed spelling to "truthy"
0b9bc6997f1d73c0cbc5035c118311c0db5b4de0 authored almost 6 years ago by P. Roebuck <[email protected]>* runner.js: delete second end emit
* tests
* documentation
* runner.js
* tests: cor...
a9f3526f3b29877b8769bcbe31ec2cc6af48f8f3 authored almost 6 years ago by Juerg B <[email protected]>- Remove unused variables to avoid problems with #237 (and their associated inline ESLint direct...
dac4e9270720bb1ef30aa1cc2de207046f4b1376 authored almost 6 years ago by Christopher Hiller <[email protected]>