Sha256: 2ebdb5d04778c7ae74e4a9bd5c08e5526dc61d543a5d9ab35595777d34327e1f
Contents?: true
Size: 277 Bytes
Versions: 3
Compression:
Stored size: 277 Bytes
Contents
module.exports = function() { this.After(function (scenario, callback) { if (scenario.isFailed()) { scenario.attach(create1MegabyteBuffer(), 'text/plain'); } callback(); }); function create1MegabyteBuffer() { return new Buffer(1024 * 1024); } };
Version data entries
3 entries across 3 versions & 1 rubygems