mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
chore: implement actual huge code correctly
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
parent
048dc07a90
commit
6f05bf0846
@ -15,7 +15,7 @@ describe('[Text] when parsing', () => {
|
||||
describe('it should handle huge files', function () {
|
||||
// skipped because this test takes like 2 minutes or more!
|
||||
it.skip('it should handlehuge diagrams', function () {
|
||||
const nodes = `A-->B;B-->A`.repeat(20000);
|
||||
const nodes = ('A-->B;B-->A;'.repeat(415) + 'A-->B;').repeat(57) + 'A-->B;B-->A;'.repeat(275);
|
||||
flow.parser.parse(`graph LR;${nodes}`);
|
||||
|
||||
const vert = flow.parser.yy.getVertices();
|
||||
|
Loading…
x
Reference in New Issue
Block a user