Replace assert.deepEqual() by assert.deepStrictEqual()

This commit is contained in:
Daniel García Aubert
2019-10-21 19:52:51 +02:00
parent 1bee877b24
commit 2423b5a4c4
69 changed files with 275 additions and 275 deletions
@@ -79,10 +79,10 @@ describe('torque tiles at 0,0 point', function () {
testClient.getTorque(mapConfig, 0, 3, tile.x, tile.y, function (err, res) {
assert.ok(!err, err);
try {
assert.deepEqual(JSON.parse(res.body), tile.expects);
assert.deepStrictEqual(JSON.parse(res.body), tile.expects);
} catch (ex) {
// With Proj 5.1 this bug has been fixed and the point appears in all tiles
assert.deepEqual(JSON.parse(res.body), tile.expects_fixed);
assert.deepStrictEqual(JSON.parse(res.body), tile.expects_fixed);
}
done();
});