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

update ansi-colors, debug, glob, he, supports-color, through2

468165ca0de209217f05de70715dd6d18428c313 authored almost 6 years ago by Christopher Hiller <[email protected]>
upgrade yargs, husky, nyc, markdownlint-cli

also use exact `yargs-unparser` version

932fcb88691acb14926606685642d8706ea4a99e authored almost 6 years ago by Christopher Hiller <[email protected]>
upgrade eslint & its ilk

- also upgrade `lint-staged`, because it's broken for some reason
- reformat
- lint
- remove `pr...

68c24cc2990ad7823c608c35915805632356879d authored almost 6 years ago by Christopher Hiller <[email protected]>
Dont count xunit failures as errors

89169cdc9d0f33d0ec2cb476bcd5493150dac8c0 authored almost 6 years ago by Marc Udoff <[email protected]>
remove SIGINT handler for single runs; see #3570

a63ab5f8799e00db6c8b62463c858f95163fcc4a authored almost 6 years ago by Christopher Hiller <[email protected]>
fix wording in enableTimeouts deprecation msg [ci skip]

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

4351697f0f15711c47f3790031a1b6635bed7fdf authored almost 6 years ago by Christopher Hiller <[email protected]>
adding a "retry" event for a test that fails but can be retried; closes #2529 (#3408)

Continuation of #2926.

Addresses issue #2529 by allowing reporters to take action on tests ...

2a76dd7589e4a1ed14dd2a33ab89f182e4c4a050 authored almost 6 years ago by Christopher Hiller <[email protected]>
modified SIGINT handling #3570 (#3602)

* Updated SIGINT handler based on comment from #3570

Signed-off-by: jayasankar <jayasankar.m@...

3d3e8337c323992a305fb66ae94354d448f623d3 authored almost 6 years ago by Jayasankar <[email protected]>
make lib/stats-collector a private API

6160a6a28f2999d236dfc2aa1028826d6ad92228 authored almost 6 years ago by Christopher Hiller <[email protected]>
fix typo in docs/README.md [ci skip]

0ed25c6145ec5029638800761cf62d743d5a7bc6 authored almost 6 years ago by Christopher Hiller <[email protected]>
update info in docs/README.md [ci skip]

2119ae1f2e643fd456a61c62ba46cc755a51205b authored almost 6 years ago by Christopher Hiller <[email protected]>
update assetgraph-builder to latest (#3611)

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

843cd93ba1e9bfe76db95af7ebeab3d2c22fa810 authored almost 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
update assetgraph-builder to latest (#3594)

* netlify-headers: Skip unloaded assets when extracting headers

* update assetgraph-builder t...

8750ef892b8b8013d637e2b80517158e5afc90c4 authored almost 6 years ago by Christopher Hiller <[email protected]>
use @mocha/contributors; closes #3606

f187d6d73b9fe99999e706c3c8998cb3b79116a7 authored almost 6 years ago by Christopher Hiller <[email protected]>
fix broken docs

- strip ansi stuff
- fix old content terminator

9b7a28202c2813fc061abc939d15ea3e759fe0de authored almost 6 years ago by Christopher Hiller <[email protected]>
make isPromise support null as a parameter (#3518)

f9a6f9b908c28d58b9e393b51a61f0216e8549e5 authored almost 6 years ago by Fábio Santos <[email protected]>
backout 02294a3 (via #3362); closes #3569

6df0e84dc873167456c2b4a384f464190ad1a540 authored almost 6 years ago by Christopher Hiller <[email protected]>
fix(cli): Throw error if unable to parse Mocha options file

Code now throws an error for any problems (except nonexistent default "test/mocha.opts"). Includ...

7a3e745ae7e8d23d0a99ec58852017e11e42341e authored almost 6 years ago by Paul Roebuck <[email protected]>
use yargs for option parsing and support config files

- `-d` is no longer an alias for `--debug`
- `--grep` and `--fgrep` are now mutually exclusive
-...

b5c0fb0a26ee9f8fd574e78732a2cf715d7ab6ca authored almost 6 years ago by Christopher Hiller <[email protected]>
updates to MAINTAINERS.md [ci skip]

- updated stuff about semver-* labels
- updated what qualifies as a breaking change
- updated so...

4cc711fa00f7166a2303b77bf2487d1c2cc94621 authored almost 6 years ago by Christopher Hiller <[email protected]>
use markdown-magic for processing documentation

7d0fb1f87d6004cd07baa747eda8ac6f30b5737f authored almost 6 years ago by Christopher Hiller <[email protected]>
--forbid-only and --forbid-pending now handle suites properly (#3578)

* fail-fast when .only encountered in Suite w/ --forbid-only
* fail-fast when .skip encountered...

a113b8550dc683d8d507b9e618bc438805476d19 authored almost 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
lint-staged should ignore package.json and package-lock.json

these are formatted by npm and would otherwise cause too much churn

99af03cb4fcc9ecaa191af21caa9c0e6bfdd00b2 authored almost 6 years ago by Christopher Hiller <[email protected]>
Issue/2819 - Fix / Clarify this.skip behavior in before hooks (#3225)

* Fix Issue 2819 - this.skip should skip tests in nested suites.

Side Effects:
- Fixed typo ...

00d5e902af5fa69b1b687448ed3e81675674703a authored almost 6 years ago by Brittany Moore <[email protected]>
update slow description (#3466)

Update mocha doc to have more details on the "slow" configuration

b636faf537552fe245eb99bb9a7734d2cea6118c authored almost 6 years ago by Fin Chen <[email protected]>
Refactor statistics (#3458)

* collect stats

41f9d5683f03989244d8a85319cd2e2deb8d431c authored almost 6 years ago by Craig Taub <[email protected]>
remove unsupported @api tag in docstrings

4bef5749859953726d1d0f6dafeeb6f7e803cb18 authored almost 6 years ago by Christopher Hiller <[email protected]>
add script to automatically dump CLI usage into documentation

- rename `scripts/docs-update-toc.js` to reflect that it does more than just that

955a71e971d77505f3772be0e2ffcf03ef814f58 authored almost 6 years ago by Christopher Hiller <[email protected]>
ensure all JS (and JSON) files are prettified pre-commit

3548294e5f50298214e22f6d2e52e2ab15d2ac15 authored almost 6 years ago by Christopher Hiller <[email protected]>
use `--forbid-only in CI

7969028dc36fe06a5201dd580da8e68c4ab0d441 authored almost 6 years ago by Christopher Hiller <[email protected]>
ci(.travis.yml,appveyor.yml): Use current npm version in CI scripts (#3579)

The requirement for using npm-5.x was due to npm-6 dropping support for Node-4. Since Mocha now ...

9f02180f1c87cdcb0050c5e2f7b8c74911606435 authored almost 6 years ago by P. Roebuck <[email protected]>
ci(appveyor.yml): Fix Growl install (#3577)

Use GitHub URL for downloading GfW installer.

ee2ef44ba57ae021e1115ef61ffeb230fb6b3065 authored almost 6 years ago by P. Roebuck <[email protected]>
ms module added instead of internal ms js #3557 (#3563)

* Replace internal "./ms js" with npm "ms" module (#3557)

262ab2b6ce493a1202945fc72f818d1f1d0e888a authored almost 6 years ago by gizemkeser <[email protected]>
Fix link in changelog (#3566)

'Nuff said...

d60b3339ffe79fadcaad22047dd20334cd77babb authored about 6 years ago by Jakob Krigovsky <[email protected]>
Add ability to query Mocha version programmatically (#3535)

* Added new public `version` property to `Mocha`, available in both Node and browser.
* Used `b...

593e9b8f1b23578e20fdaa413ddeee1bab294728 authored about 6 years ago by P. Roebuck <[email protected]>
Make TAP reporter TAP13-capable (#3552)

* Refactored code to use `TAPProducer` objects to write output.
* Added TAP specification 13 ou...

cd87a212177de5b1728d2a43c56c53266df169eb authored about 6 years ago by P. Roebuck <[email protected]>
Prevent timeout value from skirting limit check (#3536)

* fix(lib/runnable.js): Prevent timeout value from skirting limit check
- Moved the timestri...

c6f61e6b564993b5476b04a804fa4b8706c35edf authored about 6 years ago by P. Roebuck <[email protected]>
update list of published files in package.json

- this will fix a problem with npm (potentially) publishing certain files
which should always be...

614d35b58173102f96b6ee20f8fc170df1475db6 authored about 6 years ago by Christopher Hiller <[email protected]>
Extract `runReporter` to capture output under tests (#3528)

While refactoring the `dot` reporter test, we created a method for capturing output from running...

9d27bac168f0ee2c4be3b8e21396efa0c00cdbed authored about 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
Show diff in xunit

8256b65c35bbd1aa7e6fc7c38b66c1f2585fafe2 authored about 6 years ago by Marc Udoff <[email protected]>
upgrade jekyll; closes #3548 (#3549)

* upgrade jekyll; closes #3548

see https://nvd.nist.gov/vuln/detail/CVE-2018-17567

* add ....

f2b62ec250fc765fc831d579ce69d6dc7b3b7661 authored about 6 years ago by Christopher Hiller <[email protected]>
Warn that suites cannot return a value (#3550)

* Give a `DeprecationWarning` on suite callback returning any value.
* Deprecation warning: Sho...

be17ea5beecfb6fb4dfebcd584a19e0493c77aa5 authored about 6 years ago by P. Roebuck <[email protected]>
fix runner to emit start/end event (#3395)

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

00ca06b0e957ec4f067268c98053782ac5dcb69f authored about 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
update release instructions [ci skip]

3e77008b5645dbf3f7ef828bf327cb724eee0c69 authored about 6 years ago by Christopher Hiller <[email protected]>
ci(Travis/Appveyor): Update Node versions in CI matrix (#3543)

* ci(.travis.yml,appveyor.yml): Update Node versions in CI matrix

Make Node-11 the new defaul...

c16fb7680fcabf0ab0fbc670f89b4617058a7cd8 authored about 6 years ago by P. Roebuck <[email protected]>
build(ESLint/Git): Ignore JSDoc output directory (#3544)

Prettier-ESLint keeps busying itself with the JSDoc output directory upon any commit, spewing hu...

1ded82fb326daae9325860cf18f7d2a710121283 authored about 6 years ago by P. Roebuck <[email protected]>
fix(_mocha): Update '--no-timeouts' argument description (#3546)

Previously undocumented that use of `--inspect` would disable timeouts.

Fixes #3519

a371e2f73f8a6781aab6723bb596a31fc275bdf7 authored about 6 years ago by P. Roebuck <[email protected]>
refactor(json-stream.js): Consistent output stream usage (#3532)

### Description of the Change

* Made all output directly use `process.stdout`.
* `process...

b9b3ac0122347df9b9699413d2025541674c929f authored about 6 years ago by P. Roebuck <[email protected]>
refactor(bin/options.js): Refactor and improve documentation (#3533)

835ac33e3b76428a3d7a25653b31c93d5f908ec4 authored about 6 years ago by P. Roebuck <[email protected]>
Update "commander" to correct display of falsy default values (#3529)

Additionally, this includes minor updates to mocha's help output (by rewording text and/or speci...

741c4c794c89f9cf7c590e8c220c8c16162c0465 authored about 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
test(test/reporters/base.spec.js): Fix Base reporter test failure due to timeout

The `Base` reporter's specification verifies reporter can interpret Chai custom error messages. ...

adb1f612a8e909c3ce158ab66f75bb4a54a29014 authored about 6 years ago by Paul Roebuck <[email protected]>
3483: Squelch CI Growl-related spawn errors (#3517)

* ci(.travis.yml): Squelch Growl-related spawn errors

Installed binary needed for Linux deskt...

4ddfcafd07a2aa96ee7c62f72969a1ec651442dc authored about 6 years ago by P. Roebuck <[email protected]>
Native types exceptions can crash Mocha (#3471)

- Any non-extensible type thrown in an async callback raises an exception in
Mocha runner, sto...

2344119a178c6a2210cf41c42e97d7140edcac74 authored about 6 years ago by fargies <[email protected]>
level -> label (#3477)

As noted by @plroebuck `level` is not used, should be `label` instead.

https://github.com/moc...

ceff283e5f33061afef87d5a3d886a76ddcfe438 authored about 6 years ago by Ahmad Bamieh <[email protected]>
Improve Contributing Docs (#3525)

* docs: improve CONTRIBUTING.md and fix/remove links

* docs: link to CONTRIBUTING.md in readm...

24c70672f0a36f022cc8d21935a22bb4af076901 authored about 6 years ago by Mark Owsiak <[email protected]>
docs(lib/mocha.js): Update API documentation (#3515)

### Description of the Change

Replaced all method headers with more complete documentation, b...

01171b1e7acec133363b50d5baacc9719af6bf1d authored about 6 years ago by P. Roebuck <[email protected]>
fix slow test properly fot dot reporter

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

a03e23a23f299dc6665e945623d63b189a4bf55d authored about 6 years ago by Outsider <[email protected]>
Clarify docs for watch that it watches files in the CWD (#3361)

* Clarify docs for watch that it watches files in the CWD
* s/CWD/current working directory

5ec3010409063685a4aa86480c784a562cc3b65b authored about 6 years ago by Ben Glassman <[email protected]>
Update ruby-ffi (#3464)

* use latest ruby-ffi

* update all deps

04469bf0e3a008be9d066835fad278a542d8232a authored about 6 years ago by Craig Taub <[email protected]>
Added a "run cycle overview" to documentation (#3455)

* run cycle overview
* adjust flow format
* add to table of contents
* code highlighting poin...

69bc0c75ca4aa9d22b03b37f4ba50afb6126833e authored about 6 years ago by Craig Taub <[email protected]>
Update an example for browsers in docs (#3338)

* update an example for browsers in docs
* fix docs build command
* remove jquery in a browser...

d401ee198bd5026bc61641ad26eab31e6746713f authored over 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
drop node.js v4 support

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

cc8304d81334f06b1ed11fd020e6e70b8c15383d authored over 6 years ago by Outsider <[email protected]>
fix report in a case of afterEach conditional fail

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

02294a32f050324058257544a808d2f537c057a6 authored over 6 years ago by Outsider <[email protected]>
resolves #3450: changed links labeled "code of conduct" from changelog to code of conduct (#3451)

2bb4124f1b6b0f0bc8e1c76256c68e8bdb44fe9d authored over 6 years ago by Tobias Mollstam <[email protected]>
Whitelist `--experimental-modules` Node flag

This commit adds `--experimental-modules` to the list of Node flag recognized by Mocha. It allow...

f7456513e00eea3fd925377504d4b6da9c8b10ba authored over 6 years ago by Charles Samborski <[email protected]>
update docs with latest cli options (#3432)

7941c9e4ea8c89c89f3e00b9ccb48209103bd641 authored over 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
update docs with globbing and shell expansion details; closes #3136 (#3348)

* update docs with globbing and shell expansion details; closes #3136

* requested changes

...

59d5850ba4cdff010f5fdad0bea0bf684ca9a020 authored over 6 years ago by Andrew Krawchyk <[email protected]>
only run test on non-windws

f9c650c34455d1f3ec2fbdd89fedcf392f618ced authored over 6 years ago by Craig Taub <[email protected]>
renamed to hanging

e7ab24d245d6c0d83af2c172de864c2036d4161f authored over 6 years ago by Craig Taub <[email protected]>
debug - windows

242d1da650f2ac473056acc40db8264487d1b7ad authored over 6 years ago by Craig Taub <[email protected]>
add blocking mocha and test

a5b5efca9dc91ecb58916033c2480aecafdebae1 authored over 6 years ago by Craig Taub <[email protected]>
tidy commits

98f1cc4b96318cf51bb4464c84ee75277db04e4b authored over 6 years ago by Craig Taub <[email protected]>
exclude test if windows

ffc21927cdc4e161d6d879ae8d5dc33d13ed0348 authored over 6 years ago by Craig Taub <[email protected]>
windows - act on SIGINT

01c712d020b9593cceb209e2c169df122976b794 authored over 6 years ago by Craig Taub <[email protected]>
test exit code

63e7c280aeb935176689f4fd35ab4ec4634cf855 authored over 6 years ago by Craig Taub <[email protected]>
windows support for watcher SIGINT

de88088debb662f105a476ae9f091ecda9b4f287 authored over 6 years ago by Craig Taub <[email protected]>
moved comment

cf52904cad95eff2239db9b596a66ab102272d6f authored over 6 years ago by Craig Taub <[email protected]>
remove comment out

4f462e7e93456eec75686bc4fb4ce92be00acd33 authored over 6 years ago by Craig Taub <[email protected]>
remove unused spec + tidy

68147af68a7385bb3ace09873846baa205169cc4 authored over 6 years ago by Craig Taub <[email protected]>
use invoker

9b0547375cc523a39d1faa6255f2b18a688f395b authored over 6 years ago by Craig Taub <[email protected]>
increase time

debug appveyor

debug - check colors

debug - sigints event

debug - proc listeners

remove logs

f45a53a234e6ad2e17ddd59b57e1fdf09b951421 authored over 6 years ago by Craig Taub <[email protected]>
update to unexpected syntax

0dd4b0132a9627b1dce0beeb05cde5ec4e78320a authored over 6 years ago by Craig Taub <[email protected]>
extend time

debugging 2

d26d07c068b5e3c2441b8484c41ded2548a09243 authored over 6 years ago by Craig Taub <[email protected]>
use exit.fixture

add blocking mocha and test

renamed to hanging

rename file

cb0cc1b019e68f95e1993678dfec029fddf11feb authored over 6 years ago by Craig Taub <[email protected]>
use invoker

41b29f1a4ebf821a5cc3536adc6f11b50a049176 authored over 6 years ago by Craig Taub <[email protected]>
spec update

3ae43cabeddcba2e25252fe05bd772e1a1386332 authored over 6 years ago by Craig Taub <[email protected]>
debug box

debugging 2

update to unexpected syntax

increase time

debug appveyor

debug - check colors

d...

45c58eeccc4e697588932924af67145d7604544b authored over 6 years ago by Craig Taub <[email protected]>
extend time

1f27344daf13608267a30d1bd1c59e50204710f6 authored over 6 years ago by Craig Taub <[email protected]>
use expect over assert

a4b97eb586c1079a5c0c4d13731a09491fc8b3bb authored over 6 years ago by Craig Taub <[email protected]>
rename file

e67d1cfec1a58c6eded5ed22c083093e9f4beb28 authored over 6 years ago by Craig Taub <[email protected]>
fix indentation

babd9583bacc4de6df5fd3feae3207b589fc42de authored over 6 years ago by Bamieh <[email protected]>
Update _mocha

e34e9f152dc5d8ec4749a39ee63bd85ed42fa0e5 authored over 6 years ago by Ahmad Bamieh <[email protected]>
downgrade assetgraph-builder and svgo to make netlify work; closes #3401

eeccd053b18361c342dff02d4f728bd439c7f277 authored over 6 years ago by Christopher Hiller <[email protected]>
Remove bower install instructions

Remove installing mocha via bower instruction because mocha no longer supports bower installs.

d737ca2ef58b83b9ebb9dde60385250b3b89a1e5 authored over 6 years ago by Tim Harshman <[email protected]>
update packages per "npm audit fix"

41cce5f165e11e17d8e578cbceb4430ba680eb40 authored over 6 years ago by Christopher Hiller <[email protected]>
fix markdown weirdness (#3386)

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

0d95e3f41a0859be4e7225541575e78b6d8926ee authored over 6 years ago by JeongHoon Byun (aka Outsider) <[email protected]>
update contributors [ci skip]

df692796edead95e01e908cd680579cf93bd9e0b authored over 6 years ago by Christopher Hiller <[email protected]>
fix markdown weirdness [ci skip]

c4c421d3cb7079850a382f300cd96c984959ca76 authored over 6 years ago by Christopher Hiller <[email protected]>
Release v5.2.0

2735e35f814708774a4a814e0cae49ee4f21ea54 authored over 6 years ago by Christopher Hiller <[email protected]>
update CHANGELOG.md for v5.2.0 [ci skip]

3d05aebb5bae7b06e33ca738bba81603f5453432 authored over 6 years ago by Christopher Hiller <[email protected]>