question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No file produced when test errors

See original GitHub issue

If I run a test in e.g. IE 11 via sauce labs and inadvertently include a backtick in my source code, the karma console will report something like

E 11.0.0 (Windows 7 0.0.0) ERROR
  Invalid character
  at /var/folders/m1/x8tv0dkd40d636mmqw7lq5_c0000gn/T/packages/test-helper-file/src/file.shim.js:93:0 <- /var/folders/m1/x8tv0dkd40d636mmqw7lq5_c0000gn/T/911df24c8515a218c68c8d72f41a3643.browserify:59086

but no report file will be produced. As a result, any CI tools that rely on structured output (read: jenkins) will consider the build a success.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:2
  • Comments:8

github_iconTop GitHub Comments

1reaction
dcendentscommented, Jan 18, 2017

I have the same problem with Chrome when trying to load a json file with errors in it

0reactions
jcompagnercommented, Mar 22, 2021

i did create a new case here with full debug logging: https://github.com/karma-runner/karma-junit-reporter/issues/188

Read more comments on GitHub >

github_iconTop Results From Across the Web

Testing with pytest always issues a file not found error #6548
Whenever I run the tests, I always getting this strange error: Detail: Unable to read file (Error: File not found
Read more >
Why is jest looking for a test file that no longer exists?
The error is trying to look for a test file that no longer exists. I had copied a number of tests and then...
Read more >
ERROR: file or directory not found: tests/* - Atlassian Community
The error indicates that the tests folder does not exist in the repository. The pytest command expects to find files with tests in...
Read more >
gtest results file problem. - Google Groups
I am running into an issue where the 'ament test' is indicating an error, although, there is no error from what I can...
Read more >
Unit test reports - GitLab Documentation
The Test summary panel shows how many tests failed, how many had errors, and how many were fixed. If no comparison can be...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found