This library is great! I've started using ternary expressions such as Device.isIpad() ? a : b throughout my code. But now I'm at a point where I'd like to test it (I am using Enzyme to unit test my entire app).
Therefore, it would be great if this library supplied a setDevice method that can be invoked before the tests run. Otherwise, as it currently stands, Device.model is evaluated as undefined in all tests, so these ternary expressions are untestable.