api-bdd-test
Version:
use the bdd(cucumber) to test the RESTfull API
21 lines (11 loc) • 409 B
JavaScript
(function() {
var cs, loadConfig, yaml;
loadConfig = require('load-config-file');
yaml = require('js-yaml');
cs = require('coffee-script');
loadConfig.register(['.yaml', '.yml'], yaml.safeLoad);
loadConfig.register(['.cson', 'coffee'], cs["eval"].bind(cs));
loadConfig.register('.json', JSON.parse);
module.exports = loadConfig;
}).call(this);
//# sourceMappingURL=load-config.js.map