From 5c2bc16e1f09cddb35005a01f5f133aac2497b4b Mon Sep 17 00:00:00 2001 From: Luciano Franca Date: Fri, 26 Oct 2018 14:32:38 -0300 Subject: [PATCH] chore: bump module version --- lib/formatters.js | 2 +- package.json | 2 +- test/integration/bradesco/boleto.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/formatters.js b/lib/formatters.js index f7fd8d2..bf603cb 100644 --- a/lib/formatters.js +++ b/lib/formatters.js @@ -82,7 +82,7 @@ exports.mod10 = function (num) { exports.fatorVencimento = function (date) { const parsedDate = moment(date).utc().format('YYYY-MM-DD') - const startDate = moment('1997-10-07').utc().format("YYYY-MM-DD") + const startDate = moment('1997-10-07').utc().format('YYYY-MM-DD') return exports.addTrailingZeros(moment(parsedDate).diff(startDate, 'days'), 4) } diff --git a/package.json b/package.json index 7d9d1df..440eec9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "node-boleto", - "version": "2.0.4", + "version": "2.0.5", "description": "Boleto generator in Node.js", "main": "index.js", "scripts": { diff --git a/test/integration/bradesco/boleto.spec.js b/test/integration/bradesco/boleto.spec.js index 3bcd55f..b30d4af 100644 --- a/test/integration/bradesco/boleto.spec.js +++ b/test/integration/bradesco/boleto.spec.js @@ -104,7 +104,7 @@ describe('Bradesco Boleto', () => { boletos.forEach(boleto => { expect(boleto.bank.options).to.have.property('logoURL').that.contains('bradesco.jpg') expect(boleto.bank.options).to.have.property('codigo', '237') - }); + }) }) it('contains correct codigo_banco', () => {