Recommended testing practice with Ionic 2 Native Plugins (static classes)?


#1

Hi there

I’m wondering what will be the recommended practice to test a class with dependency to a Native plugins (ex.:Device).
Those plugins are exposed as Static class and it does not seems possible to inject those through Angular Injection mechanism.
If I want to isolate the class under test from a Native plugin, is there any recommended practice?

Thank you
Phil