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

Error when no done callback supplied. #48

Open
bakakaba opened this issue Dec 28, 2017 · 0 comments
Open

Error when no done callback supplied. #48

bakakaba opened this issue Dec 28, 2017 · 0 comments

Comments

@bakakaba
Copy link

Expected behavior

Tests run with no error

Actual behavior

Error thrown when test run completed

TypeError: fn is not a function
    at MultiReporters.done (node_modules/mocha-multi-reporters/lib/MultiReporters.js:97:16)

Information about the Issue

└── [email protected]
The reporter throws an error one completion if there is not callback function supplied in mocha.run();

Steps to reproduce the behavior

  1. Configure MultiReporters with reporters that don't have a DoneHandler
  2. Run tests with mocha.run();
francisu pushed a commit that referenced this issue Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant