You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
281 B

/*
* macros.js: Simple test macros
*
* (C) 2011, Charlie Robbins & the Contributors
* MIT LICENSE
*
*/
var assert = require('assert');
var macros = exports;
macros.assertValidResponse = function (err, res) {
assert.isTrue(!err);
assert.equal(res.statusCode, 200);
};