Oni: Hook up code coverage to Jest tests

Created on 20 Mar 2018  路  4Comments  路  Source: onivim/oni

We should hook up code-coverage via codecov to our Jest test framework.

build chore help wanted insider

All 4 comments

@bryphe I can take a look at this

@Akin909 - that would be a huge help! 馃挴

PR #1533 would be a good reference point.

A couple of things we'd need to do:

This outputs coverage date against the _built JavaScript files_.

Hope that gives you some ideas! Thanks a lot for the help with this 馃憤

A quick note this issue should be resolved once #2110 is merged, I've pointed jests coverage output dir to coverage/jest it outputs a coverage-final.json which I upload separately in the travis.yml codecov then does the magic of merging that report and the one for mocha into a single one

closed by #2210

Was this page helpful?
0 / 5 - 0 ratings

Related issues

timeyyy picture timeyyy  路  3Comments

zxiest picture zxiest  路  3Comments

tcoopman picture tcoopman  路  3Comments

bryphe picture bryphe  路  3Comments

badosu picture badosu  路  3Comments