khoait / DCE.PCF

Power Apps PCF Controls Repository
GNU General Public License v3.0
39 stars 10 forks source link

Automated tests #114

Open omnisip opened 2 weeks ago

omnisip commented 2 weeks ago

Describe Problem

I want to use this, but it's missing automated tests that cover all of the code and branches. It looks like you've put a lot of work into this.

Suggest Solution/Expectation

Implement jest + xrm-mock with 100% code and branch coverage. In our projects we fully test our PCF components by mocking the web requests.

khoait commented 4 days ago

Thanks for your suggestion! I'll pull something together in the next release. It'll need quite some effort to reach 100% in one go. Maybe I'll improve the code coverage incrementally.