chore: implement actual huge code correctly

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Reda Al Sulais 2023-09-21 01:26:40 +03:00 committed by GitHub
parent 048dc07a90
commit 6f05bf0846
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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();