theoutlander/jest-dashboard

"TypeError: Cannot read property 'testResults' of undefined"

Opened this issue · 1 comments

#Issue Details
Hey, This reporter looks amazing in the readme, tried to give it a spin but it fails right on start with the following stacktrace. We're using TypeScript, Node 12.18, Jest 25.2.3

image

Thanks @goldbergyoni for reporting this issue. I was just using this dashboard a few mins ago (after almost a year) w/the latest node/jest/tsc and it worked, but something weird must be going on with your setup.

Can you share details about the jest command you are running? Is it running any tests?

The error is happening @

let contentArr = item.getText().split(/\s/g).filter(a => a !== '')
.

I can't seem to repro this. Would you be able to print the variables above that line and post the values you're getting?

image