-
Notifications
You must be signed in to change notification settings - Fork 929
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
chore: replace mocha-circleci-reporter
with mocha-multi-reporters
#8845
Conversation
mocha-circleci-reporter
with mocha-junit-reporter
.circleci/config.yml
Outdated
# command which support only - for debug purpose | ||
# command: cd bit && npm run e2e-test-circle --debug | ||
environment: | ||
MOCHA_FILE: junit/e2e-test-results.xml | ||
NODE_OPTIONS: --no-warnings --max-old-space-size=5000 | ||
# NODE_OPTIONS: --no-warnings --max-old-space-size=5000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@luvkapur why did you remove also the max old space?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@GiladShoham
because I saw we pass it as part of the script for this command
mocha-circleci": "cross-env NODE_OPTIONS='--no-warnings --max-old-space-size=5000'
I see it is missing here for the e2e-test-circle cmd which I overlooked
e2e-test-circle": "cross-env NODE_OPTIONS=--no-warnings
i will add it there and then we dont need it as part of config.yml since it is redundant
mocha-circleci-reporter
with mocha-junit-reporter
mocha-circleci-reporter
with mocha-multi-reporters
This PR replaces the
mocha-circleci-reporter
(https://github.com/sandcastle/mocha-circleci-reporter) which is no longer maintained and has a security vulnerability withmocha-multi-reporters
, that usesmocha-junit-reporter
to output to xml andspec
to output to console.