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