console.log error in test. For testing purposes only.

This commit is contained in:
Eneko Lakasta 2018-01-11 10:49:46 +01:00
parent bcd14e4f77
commit 4d11403be2

View File

@ -62,6 +62,7 @@ describe('CartoCSS wrap', function () {
it.only("Label should be text-wrapped", function (done) { it.only("Label should be text-wrapped", function (done) {
this.testClient = new TestClient(mapConfig); this.testClient = new TestClient(mapConfig);
this.testClient.getTile(1, 0, 1, { layers: [0] }, (err, res, body) => { this.testClient.getTile(1, 0, 1, { layers: [0] }, (err, res, body) => {
if (err) console.log(err)
var textWrapPath = './test/fixtures/text_wrap.png'; var textWrapPath = './test/fixtures/text_wrap.png';
assert.imageIsSimilarToFile(body, textWrapPath, IMAGE_TOLERANCE, done); assert.imageIsSimilarToFile(body, textWrapPath, IMAGE_TOLERANCE, done);
}); });