-
Notifications
You must be signed in to change notification settings - Fork 248
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
TypeError: Cannot read property 'text' of undefined #167
Comments
Could you either post a link to the code or supply a minimal example reproducing this please? |
Hi @dignifiedquire , I think I've provided all things on my post. Because the Unit Test still works well, and the report has been created/updated successfully. However, we got the error in end of progress. And I just get the issue when I add Please let me know if you need to get what information from my case. I will investigate deeper on this issue today. Regards, |
Hi @dignifiedquire , is there any updates on this? the issue still be my tests :(( |
Sorry I haven't gotten to it yet, will try to take a look later today |
+1 |
Hi @dignifiedquire , I removed |
I switched to |
This appears to be an issue with Istanbul and source maps. See #157 (comment). |
Yes this seems to be the same issue as #157 |
* chore(package): update dependencies * chore(travis): whitelist greenkeeper branches * docs(readme): add Greenkeeper badge * docs(readme): move Greenkeeper badge * build(webpack): add entry file * chore(package): downgrade instanbul-instrumenter-loader karma-runner/karma-coverage#167 https://greenkeeper.io/
We had this error and I spent yesterday morning fixing. Here's a write-up of what worked for us. |
I'm facing 1 issue on my Unit Test. It happens when I tried to add
babelify
intobrowerify
's transform to convert ES6 in my implement code.I'm using:
0.3.17
0.4.2
6.1.2
Chrome 43.0.2357 (Mac OS X 10.10.2): Executed 313 of 324 (skipped 11) SUCCESS (0.515 secs / 0.313 secs)
ERROR [coverage]: [TypeError: Cannot read property 'text' of undefined]
TypeError: Cannot read property 'text' of undefined
at /node_modules/istanbul/lib/report/html.js:283:53
at Array.forEach (native)
at annotateBranches (/node_modules/istanbul/lib/report/html.js:250:30)
at HtmlReport.Report.mix.writeDetailPage (/node_modules/istanbul/lib/report/html.js:421:9)
at /node_modules/istanbul/lib/report/html.js:484:26
at SyncFileWriter.extend.writeFile (/node_modules/istanbul/lib/util/file-writer.js:57:9)
at FileWriter.extend.writeFile (/node_modules/istanbul/lib/util/file-writer.js:147:23)
at /node_modules/istanbul/lib/report/html.js:483:24
at Array.forEach (native)
at HtmlReport.Report.mix.writeFiles (/node_modules/istanbul/lib/report/html.js:477:23)
The text was updated successfully, but these errors were encountered: