mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
fix lint issues
This commit is contained in:
parent
6b4eaa185e
commit
6a57c99335
@ -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);
|
||||
});
|
||||
|
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user