fix lint issues

This commit is contained in:
Kate Higa 2022-04-08 13:24:33 -07:00
parent 6b4eaa185e
commit 6a57c99335
2 changed files with 6 additions and 7 deletions

View File

@ -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);
});

View File

@ -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';