Username, Password and Domain for Unit Test
codygreen opened this issue · 0 comments
codygreen commented
I've forked the project to add methods for Ravello Classes but I'm running into issues trying to test the base code. How are you setting/pass in the username, password and domain for applications.test.js?
In my functions where I use your module I would normally do something like this but I don't want to code this directly into the test:
// build ravello-js conf
const conf = {
Logger: (function() {}),
credentials: {
domain,
password,
username
}
};
r.configure(conf);