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.

Disable message about diagnostics

See original GitHub issue

So when the diagnostics hits an error, it will write something like this;

Test suite failed to run

TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
<file> - error <message>`

Now I might be alone in this but I do appreciate the error, but I don’t want to see that " TypeScript diagnostics (customize using [jest-config].globals.ts-jest.diagnostics option)" line.

Is there any way to disable it? With lots of errors it keeps repeating and distracts from the actual errors. I also think its pretty useless to display on each error and would rather like to see it once at the end or something. But if I could remove the message entirely from the log, that would work better on environments that I would want logging on to see what error I got.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
ahnpnlcommented, Mar 24, 2020

" TypeScript diagnostics (customize using [jest-config].globals.ts-jest.diagnostics option)"

Ok let’s remove this part then 👍

1reaction
kulshekharcommented, Mar 24, 2020

I’m alright with this change. If this is being repeated every time and impedes reading the actual error details then it might be best to remove it

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can change or disable "Diagnostic information for ...
Hi, To prevent the message from showing, you can add the domain as remote domain and disable NDR for the remote domain. You...
Read more >
How to Disable Windows 10 Diagnostics and Feedback ...
To do this, press the “Windows Key + R” and type “services.msc“. Scroll down and locate the “Connected User Experiences and Telemetry” service ......
Read more >
Share usage & diagnostics information with Google
Turn Usage & diagnostics on or off. Tip: If you use a shared device, other user profiles may change this setting. How Google...
Read more >
Windows 10 1803 - Disable Diagnostics Level Notification
It says that the diagnostic level has been disabled by the administrator (if you turn off said function via GPO). Does anyone know...
Read more >
Solved: Re: In need to disable "debug output" option serv...
1. Start entering the Debug in the Application Navigator. · 2. Go to System Diagnostics. · 3. Find "Disable All" under "Session Debug"...
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