get the size gzipped

This commit is contained in:
Simon Martín 2018-05-29 16:19:06 +02:00
parent 008fad3d13
commit 5f8533bf99

View File

@ -165,7 +165,7 @@ describe('copy-endpoints', function() {
const headers = JSON.parse(res.headers['x-sqlapi-profiler']);
assert.ok(headers.copyFrom);
const metrics = headers.copyFrom;
assert.equal(metrics.size, 57);
assert.equal(metrics.size, 96);
assert.equal(metrics.format, 'CSV');
assert.equal(metrics.time, response.time);
assert.equal(metrics.rows, response.total_rows);