Page MenuHomePhabricator

WikiLambda's jest test output is filled with lots of scary-looking warnings and "errors", even when the tests pass, making it difficult to debug
Open, In Progress, MediumPublic

Description

When we run npm test, there are lots of warnings.

It is a bit painful when we want to see logs or relevant information shown when running the tests. Reducing them or remove them all would ease that a lot.

Event Timeline

Jdforrester-WMF renamed this task from Too much warnings when running tests to WikiLambda's jest test output is filled with lots of scary-looking warnings and "errors", even when the tests pass, making it difficult to debug.Wed, May 22, 4:51 PM
Jdforrester-WMF triaged this task as Medium priority.

Change #1037799 had a related patch set uploaded (by Ecarg; author: Ecarg):

[mediawiki/extensions/WikiLambda@master] Reduce npm warnings

https://gerrit.wikimedia.org/r/1037799

ecarg changed the task status from Open to In Progress.Fri, May 31, 2:11 PM

Change #1037799 merged by jenkins-bot:

[mediawiki/extensions/WikiLambda@master] Tests/jest: Reduce npm warnings

https://gerrit.wikimedia.org/r/1037799

A lot of warnings (~50) have been resolved from the above patch; more will be resolved as a byproduct of another patch. This can be a continued WIP and we can create a new task if this one gets 'resolved'.