chronogolf / nativescript-store-update

Apache License 2.0
19 stars 13 forks source link

Add unit tests to plugin #7

Closed SBats closed 6 years ago

SBats commented 6 years ago

As per the plugin seed, tests are living in the main demo app. Those are unit test but we try to catch Nativescript confirm calls with wished options. Same goes with store infos. We mock them and supposed the page called is the good one and the return is the format we want. Modified a bit tslint script to prevent un interesting errors (like demo platforms folders, hooks, etc...)