customConfig.js
angular.module("steam")
.value("customConfig", {
baseurl: "http://dev-back1.techgrind.asia/"
});
To access the value outside the module, replace the " .." with customConfig.baseurl
apiTest.js
var frisby = require("frisby");
frisby.create("Status test")
.get(customConfig.baseurl + "/scripts/rest.pike?request=test")
.expectStatus(200)
.toss();