spaxel/dashboard/node_modules/union/test/helpers/macros.js
jedarden 03f765639b feat(feedback): enhance false positive explanations with diagnostic context
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-25 12:35:04 -04:00

17 lines
281 B
JavaScript

/*
* 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);
};