Hazyzh / jest-html-reporters

🌈 Reporter for jest test framework. 🌈
https://hazyzh.github.io/report.html
MIT License
522 stars 100 forks source link

After changing openReport: false - report is not opened locally and not generated on local runs #303

Open saritvakrat opened 8 months ago

saritvakrat commented 8 months ago

Describe the bug After changing openReport: false - report is not opened locally and not generated on local runs

To Reproduce Steps to reproduce the behavior: Delete the report folder

  1. update openReport: false
  2. Change again to openReport: true
  3. Try to get the report generated or open

Expected behavior Report is generated and opened

Screenshots

image

Desktop (please complete the following information):

Additional context Config: reporters: ['default', ['jest-html-reporters', { publicPath: './html_report', filename: 'report.html', darkTheme: false, openReport: false, inlineSource: true, includeConsoleLog: true, logoImgPath: 'gbLogo.jpeg' }], ['jest-junit', { outputDirectory: 'junit-reports', outputName: 'report.xml' }] ],