From 66db54e2fe104e3af2c442b75b454346f7174c58 Mon Sep 17 00:00:00 2001 From: Alex Canessa Date: Sun, 14 Oct 2018 12:04:01 +0100 Subject: [PATCH] Fix wrong test mock data --- test/Gren.spec.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/Gren.spec.js b/test/Gren.spec.js index 04c472b..e011562 100644 --- a/test/Gren.spec.js +++ b/test/Gren.spec.js @@ -424,10 +424,10 @@ describe('Gren', () => { } }, { - author: { - name: 'Alex Canessa' - }, commit: { + author: { + name: 'Alex Canessa' + }, message: 'Two' }, author: { @@ -535,7 +535,7 @@ describe('Gren', () => { fs.unlinkSync(gren.options.changelogFilename); } }); - }) + }); describe('_validateRequiredTagsExists', () => { it('should failed if one tag is missing', () => { @@ -556,7 +556,7 @@ describe('Gren', () => { }); describe('Tests that require network', () => { - before(function (done) { + before(function(done) { gren._hasNetwork() .then(isOnline => { if (!isOnline) {