Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parallel mode: enable custom worker reporters and object references #4409

Merged
merged 3 commits into from Oct 7, 2020

Commits on Oct 7, 2020

  1. parallel mode reporter improvements

    - `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
    boneskull committed Oct 7, 2020
    Copy the full SHA
    3e6ae1a View commit details
    Browse the repository at this point in the history
  2. remove browser growl impl from wallaby cfg

    Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
    boneskull committed Oct 7, 2020
    Copy the full SHA
    2e214f3 View commit details
    Browse the repository at this point in the history
  3. 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
    boneskull committed Oct 7, 2020
    Copy the full SHA
    1288205 View commit details
    Browse the repository at this point in the history