brazilianutils
Version:
Lots of utilities for Node.js
22 lines (18 loc) • 606 B
JavaScript
;
var httpUtils = require('../lib/httpUtils');
module.exports = {
'__name': { '': function(test) { test.done(); } },
'__description': { '': function(test) { test.done(); } },
'methods': {
'Check that correct amount of methods are available': function(test) {
test.equals(httpUtils.methods.length, 24);
test.done();
}
},
'statuses': {
'Check that correct number of statuses are available': function(test) {
test.equals(Object.keys(httpUtils.statuses).length / 2, 42);
test.done();
}
}
};