mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-08 18:16:44 +02:00
Fix types
This commit is contained in:
@@ -35,8 +35,11 @@ describe('diagram-orchestration', () => {
|
||||
{ text: 'gitGraph', expected: 'gitGraph' },
|
||||
{ text: 'stateDiagram', expected: 'state' },
|
||||
{ text: 'stateDiagram-v2', expected: 'stateDiagram' },
|
||||
])('should $text be detected as $expected', ({ text, expected }) => {
|
||||
expect(detectType(text)).toBe(expected);
|
||||
});
|
||||
])(
|
||||
'should $text be detected as $expected',
|
||||
({ text, expected }: { text: string; expected: string }) => {
|
||||
expect(detectType(text)).toBe(expected);
|
||||
}
|
||||
);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user