#1055 Fix for tests

This commit is contained in:
Knut Sveidqvist
2019-11-20 19:21:19 +01:00
parent 3f8f9f6711
commit 087e5eaa32
2 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ describe('when parsing subgraphs', function() {
const subgraph = subgraphs[0];
expect(subgraph.nodes.length).toBe(1);
expect(subgraph.nodes[0]).toBe('A');
expect(subgraph.id).toBe('mermaid-dom-id-1test');
expect(subgraph.id).toBe('1test');
});
it('should handle subgraphs1', function() {