Try and quiet multipart query

This commit is contained in:
Paul Ramsey 2018-05-22 15:24:19 -04:00
parent 037dc00c0f
commit 8dd1d5babf

View File

@ -15,7 +15,7 @@ describe('query-multipart', function() {
},{}, function(err, res) { },{}, function(err, res) {
assert.ifError(err); assert.ifError(err);
const response = JSON.parse(res.body); const response = JSON.parse(res.body);
assert.equal(!!response.time, true); assert.equal(typeof(response.time) !== 'undefined', true);
assert.strictEqual(response.total_rows, 1); assert.strictEqual(response.total_rows, 1);
assert.deepStrictEqual(response.rows, [{n:2}]); assert.deepStrictEqual(response.rows, [{n:2}]);
done(); done();