Try and quiet multipart query
This commit is contained in:
parent
037dc00c0f
commit
8dd1d5babf
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user