diff --git a/src/diagrams/user-journey/journeyDb.spec.js b/src/diagrams/user-journey/journeyDb.spec.js index 87ae4fccb..b4738fdac 100644 --- a/src/diagrams/user-journey/journeyDb.spec.js +++ b/src/diagrams/user-journey/journeyDb.spec.js @@ -31,13 +31,12 @@ describe('when using the journeyDb', function () { journeyDb.addTask('test2', '1: id2'); journeyDb.clear(); }); - it.each` - fn | expected - ${'getTasks'} | ${[]} - ${'getTitle'} | ${''} - ${'getAccDescription'} | ${''} - ${'getSections'} | ${[]} + fn | expected + ${'getTasks'} | ${[]} + ${'getTitle'} | ${''} + ${'getAccDescription'} | ${''} + ${'getSections'} | ${[]} `('should clear $fn', ({ fn, expected }) => { expect(journeyDb[fn]()).toEqual(expected); }); diff --git a/src/diagrams/user-journey/parser/journey.spec.js b/src/diagrams/user-journey/parser/journey.spec.js index 74649dbf4..6cf604caf 100644 --- a/src/diagrams/user-journey/parser/journey.spec.js +++ b/src/diagrams/user-journey/parser/journey.spec.js @@ -22,7 +22,7 @@ describe('when parsing a journey diagram it', function () { it('it should handle an accDescription', function () { const str = 'journey\n' + - 'accDescription A user journey for family shopping\n'+ + 'accDescription A user journey for family shopping\n' + 'title Adding journey diagram functionality to mermaid\n' + 'section Order from website';