dkelosky / jest-stare

Jest HTML Reporter and Results Processor

Home Page:https://dkelosky.github.io/jest-stare/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Specifying a resultDir suppresses report link message in logs

hyperh opened this issue · comments

I'm on "jest-stare": "^1.25.0",

I would expect to see the following after running my tests:

**  jest-stare --reporters: wrote output report to ./jest-stare/index.html	**
jest-html-reporter >> Report generated (./jest/reports/jest-html-reporter.html)

This just lets me click the link in the terminal to go to the report rather than dig for it in my file explorer.

However, the jest-stare message is suppressed when I do the following:

const reporters = [
  'default',
  ['jest-stare', { resultDir: ... }],
  ['jest-html-reporter', {...}]
]

If it's just

const reporters = [
  'default',
  'jest-stare',
  ['jest-html-reporter', {...}]
]

seems to be ok.

Thanks for reporting. I'll try it out shortly and see if I get the same result

I confirmed this is an issue. I'll look at a fix