console.log error in test. For testing purposes only.
This commit is contained in:
parent
bcd14e4f77
commit
4d11403be2
@ -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);
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user