Closed wzalazar closed 5 years ago
This is awesome, and it shows that we really have great coverage!
Does this work too if we avoid ts-node?
well, today we don't have problems with ts-node
, for another hand without ts-node
we have a wrong report, for example, when you run npm run coverage:unit
:
1..156
# tests 156
# pass 156
# ok
Coverage summary
Statements : 0% ( 0/1422 )
Branches : 0% ( 0/208 )
Functions : 0% ( 0/410 )
Lines : 0% ( 0/1339 )
or when you run npm run coverage:integration
1..44
# tests 44
# pass 44
# ok
Coverage summary
Statements : 0% ( 0/1422 )
Branches : 0% ( 0/208 )
Functions : 0% ( 0/410 )
Lines : 0% ( 0/1339 )
I think we have to go back to ts-node
This is purely a guess, but my main guess as to why ts-node was acting funny was due to Inversify. Inversify was doing some out of the ordinary JS stuff using Reflection, I didn't really care to look into but I was thinking may have been the cause. Inversify is now removed though, so we may be good to switch back to ts-node.
@kennylavender I think the same, for me the problem was with Inversify, ;)
:tada: This PR is included in version 2.18.2 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
PR Process - PR Review Checklist
Release
Semantic release is enabled for this repository. Make sure you follow the right commit message convention. We're using semantic-release's default — Angular Commit Message Conventions.
Description of Changes
This PR introduces:
In the past, we talked with @lautarodragan the possibility to get the coverage with the integration tests, etc. Today with the refactored we did the possibility is a reality. I leave this PR open to discussion.
Coverage summary