-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
parallel mode: enable custom worker reporters and object references (#…
…4409); closes #4403 - `Suite`s, `Test`s, etc., now have unique identifiers which can optionally be used to re-created object references by a reporter which opts-in to the behavior - A reporter can swap out the worker’s reporter for a custom one - fixed an issue in rollup config causing weird problems - changed how we define `global.Mocha` in `browser-entry.js` (tangential) - removed `object.assign` polyfill (tangential) - renamed misnamed `buffered-runner.spec.js` to `parallel-buffered-runner.spec.js` - added a few unit tests - refactored some tests; mainly modernizing some syntax - make invalid event data throw a fatal error; the only time this should happen in a non-unit-test context is when a mocha developer introduces a bug - also fix a `rewiremock` call in `ParallelBuffered` reporter tests - added some public APIs (e.g. `ParallelBuffered` reporter)
- Loading branch information
Showing
18 changed files
with
1,136 additions
and
680 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.