mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-24 09:49:46 +02:00
Fix broken unit test
This commit is contained in:
@@ -444,9 +444,14 @@ describe('mermaidAPI', () => {
|
||||
'\ndefault' +
|
||||
'\n.classDef1 > * { style1-1 !important; }' +
|
||||
'\n.classDef1 span { style1-1 !important; }';
|
||||
expect(getStyles).toHaveBeenCalledWith('flowchart-v2', expectedStyles, {
|
||||
fontFamily: 'serif',
|
||||
});
|
||||
expect(getStyles).toHaveBeenCalledWith(
|
||||
'flowchart-v2',
|
||||
expectedStyles,
|
||||
{
|
||||
fontFamily: 'serif',
|
||||
},
|
||||
'someId'
|
||||
);
|
||||
});
|
||||
|
||||
it('calls getStyles to get css for all graph, user css styles, and config theme variables', () => {
|
||||
|
Reference in New Issue
Block a user