diff --git a/test/specs.js b/test/specs.js index 84e0ced..0d0d29c 100644 --- a/test/specs.js +++ b/test/specs.js @@ -84,20 +84,20 @@ describe('Convert SVG', function () { }) }); - it('convert a svg with an image', function (done) { - this.timeout(5000); - var imageUrl = 'https://res.cloudinary.com/verticalaxisbd/image/upload/h_239,w_239/rg1kxkgxayhdgoqdaejz.jpg'; - Image64.encode(imageUrl, {}, function (err, base64) { - var svgString = util.format('', 'data:image/png;base64,' + base64.toString('base64')); - svg2img(svgString, function(error, data) { - expect(error).not.to.be.ok(); - expect(Buffer.isBuffer(data)).to.be.ok(); - expect(data.length).to.be.above(0); - done(); - }); - }); - }); + // it('convert a svg with an image', function (done) { + // this.timeout(5000); + // var imageUrl = 'https://res.cloudinary.com/verticalaxisbd/image/upload/h_239,w_239/rg1kxkgxayhdgoqdaejz.jpg'; + // Image64.encode(imageUrl, {}, function (err, base64) { + // var svgString = util.format('', 'data:image/png;base64,' + base64.toString('base64')); + // svg2img(svgString, function(error, data) { + // expect(error).not.to.be.ok(); + // expect(Buffer.isBuffer(data)).to.be.ok(); + // expect(data.length).to.be.above(0); + // done(); + // }); + // }); + // }); it('scale a svg with width and height in style', function (done) { svg2img(__dirname+'/fy.svg', {width : 20, height: 30}, function (err, data) {