Fix nesting of getSubGraphTitleMargins test.

This commit is contained in:
Matheus B
2023-11-10 21:35:58 -03:00
parent 0bcd5d28e8
commit 52ed38719f

View File

@@ -595,8 +595,9 @@ describe('calculatePoint', () => {
'Could not find a suitable point for the given distance'
);
});
});
describe('getSubGraphTitleMargins', () => {
describe('getSubGraphTitleMargins', () => {
it('should get subgraph title margins after config has been set', () => {
const config_0 = {
flowchart: {
@@ -614,5 +615,4 @@ describe('calculatePoint', () => {
subGraphTitleTotalMargin: 15,
});
});
});
});