The patch on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Popups/+/710123 claims that 0% code coverage of new lines is added, but this doesn't seem aware of the unit testing framework that Popups uses. It even suggests writing JavaScript unit tests for JavaScript unit tests!
Is it possible to add some kind of local sonar configuration to wire this up correctly or to disable it?
This caused some unnecessary and avoidable confusion during code review.