Page MenuHomePhabricator

Run JavaScript tests in CI, and include code coverage
Closed, ResolvedPublic

Description

In T337533: Setup PIRS infrastructure and a demo button in the user talk page for testing we added some tests, but the patch didn't run them in CI. This task will make sure that we run the tests in CI and also produce a code coverage report.

Event Timeline

Change 934575 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/IncidentReporting@master] tests: Run jest tests in CI and generate coverage reports

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

Change 935005 had a related patch set uploaded (by Kosta Harlan; author: Kosta Harlan):

[mediawiki/extensions/ReportIncident@master] tests: Run jest tests in CI and generate coverage reports

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

Change 934575 abandoned by Kosta Harlan:

[mediawiki/extensions/IncidentReporting@master] tests: Run jest tests in CI and generate coverage reports

Reason:

See I275e42befecbeb88c4ee340f6f311f5719eda4c7

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

Change 935005 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] tests: Run jest tests in CI and generate coverage reports

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

Test wiki created on Patch demo by EIgyan (WMF) using patch(es) linked to this task:
https://patchdemo.wmflabs.org/wikis/d4b9d40948/w

Change 935005 merged by jenkins-bot:

[mediawiki/extensions/ReportIncident@master] tests: Run jest tests in CI and generate coverage reports

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

This is done.

Test wiki on Patch demo by EIgyan (WMF) using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/d4b9d40948/w/