Skip to content

Add nyc coverage regex to example pattern list

Dan Quist requested to merge (removed):patch-41 into master

What does this MR do?

Adds an example regex for capturing code coverage when using nyc and mocha - two extremely popular libraries in the npm ecosystem.

There is no example regex provided, and the solution in the referenced issue for how to properly capture the coverage when using colors has 18 thumbs-up, indicating that this is a common problem.

Here is an example of the regex working:
https://regex101.com/r/A2oIXf/4

What are the relevant issue numbers?

Closes #29642 (closed)

Does this MR meet the acceptance criteria?

Edited by Dan Quist

Merge request reports