rrestjs
Version:
HIgh performance node.js ROA & RESTFUL web framework.
21 lines (10 loc) • 336 B
JavaScript
/*
测试config的读取
*/
var should = require('should');
var path = require('path');
var rrestconfig = module.exports.rrestjsconfig = require('../config/default_config.js');
var rrest = require('../');
should.strictEqual(rrest.config, rrestconfig);
console.log('config.js test done!');
process.exit();