Unable to call default Alloy libraries in Ti.Unit Framework

29 views Asked by At

We are planning to use Ti.Unit framework for Unit testing. We use moment alloy library in our project. Default alloy library, not added as file in our project. Issue is, we are unable to call moment or any other default alloy libraries in Ti.Unit test. It is not recognizing alloy default libraries. Any way we can call this library. var moment = require(/alloy/moment) . How to write in Ti.Unit test?

0

There are 0 answers