Skip to content
This repository was archived by the owner on May 6, 2022. It is now read-only.

WIP: Fix/code coverage #103

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jamesliu-usb
Copy link

Basic approach using the nyc workaround involving spawn-wrap

TODO comment updated, basic nyc config added to match expected coverage thresholds defined for Jest.

Use Istanbul nyc spawn-wrap workaround for interim solution
Add nyc config to match coverage threshold defined for jest
@developher-net
Copy link
Owner

Nice - this starts getting us coverage metrics from running the integration test:

Before

Screen Shot 2019-11-21 at 11 10 16 AM

Now

Screen Shot 2019-11-21 at 11 10 33 AM

I think we need to exclude most of /tmp/ from the code coverage reporting since it will artificially skew the metrics:
Screen Shot 2019-11-21 at 11 14 54 AM

@developher-net
Copy link
Owner

It looks like we also lose the lcov browseable reports - that's something to get added back

@jamesliu-usb
Copy link
Author

It looks like we also lose the lcov browseable reports - that's something to get added back

I may or may not have experienced physical discomfort when I deleted all those reporter values out of that array 😢

@developher-net
Copy link
Owner

We'll need to update this to not match code coverage on the folder pattern /tmp-* introduced in #119 and #113

@developher-net developher-net changed the title Fix/code coverage WIP: Fix/code coverage Feb 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants