View Code? Open in Web Editor
NEW
A minimal reproduceable example for c8 not working from a sub-directory.
c8-sub-directory's Introduction
- When running c8 from a sub-directory to test code in a
src
folder one directory up, code coverage doesn't work.
- Issue filed in the c8 repo: bcoe/c8#527
- Download this repo
npm install
npm run test
- See that 1 test passes and 100% coverage. Yay! ๐
cd sub-directory
npm install
npm run test
- See that 1 test passes and 0% coverage. ๐ข
video.mov
c8-sub-directory's People
Contributors
Watchers