mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 06:49:47 +02:00
fix lint issues
This commit is contained in:
@@ -31,13 +31,12 @@ describe('when using the journeyDb', function () {
|
|||||||
journeyDb.addTask('test2', '1: id2');
|
journeyDb.addTask('test2', '1: id2');
|
||||||
journeyDb.clear();
|
journeyDb.clear();
|
||||||
});
|
});
|
||||||
|
|
||||||
it.each`
|
it.each`
|
||||||
fn | expected
|
fn | expected
|
||||||
${'getTasks'} | ${[]}
|
${'getTasks'} | ${[]}
|
||||||
${'getTitle'} | ${''}
|
${'getTitle'} | ${''}
|
||||||
${'getAccDescription'} | ${''}
|
${'getAccDescription'} | ${''}
|
||||||
${'getSections'} | ${[]}
|
${'getSections'} | ${[]}
|
||||||
`('should clear $fn', ({ fn, expected }) => {
|
`('should clear $fn', ({ fn, expected }) => {
|
||||||
expect(journeyDb[fn]()).toEqual(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 () {
|
it('it should handle an accDescription', function () {
|
||||||
const str =
|
const str =
|
||||||
'journey\n' +
|
'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' +
|
'title Adding journey diagram functionality to mermaid\n' +
|
||||||
'section Order from website';
|
'section Order from website';
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user