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

enableCharts default is not true #126

Closed
frostiebot opened this issue Feb 8, 2017 · 0 comments
Closed

enableCharts default is not true #126

frostiebot opened this issue Feb 8, 2017 · 0 comments
Labels

Comments

@frostiebot
Copy link

Using mochawesome from an npm script does not appear to use the documented default of true for the enableCharts option.

"NODE_ENV=test mocha --check-leaks --recursive --compilers js:babel-register --require test/unit/setup 'test/unit/**/*.spec.js' --reporter mochawesome --reporter-options reportDir=reports/unit-tests,reportFilename=index"

Without enableCharts=true in the reporter-options collection, I do not see the "wheel" on each test in the resulting report.

mochawesome-no-enablecharts

"NODE_ENV=test mocha --check-leaks --recursive --compilers js:babel-register --require test/unit/setup 'test/unit/**/*.spec.js' --reporter mochawesome --reporter-options reportDir=reports/unit-tests,reportFilename=index,enableCharts=true"

Now that I have explicitly added enableCharts=true to the reporter-options, I get the following:

mochawesome-enablecharts-true

Versions

npm 3.10.10
node v7.2.0

mochawesome@2.0.2
mochawesome-report-generator@1.0.6
@adamgruber adamgruber added the bug label Feb 8, 2017
@adamgruber adamgruber mentioned this issue Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants