I tried to create a jest snapshot, and the snapshot turned out to be extremely large.
A typical snapshot size ranges from 100 to 1000 lines, while this widget's snapshot is as large as 700,000 lines. That is 1000 times typical size. I am afraid that it will cause serious performance issues.
How to reproduce: get latest code of this PR: #296 and run yarn test. Then check the snapshot in test/__snapshots__/.
Update: I have updated the code to remove the snapshot generation because it caused the tests stuck. If you have problem reproduce this issue please let me know.
I tried to create a jest snapshot, and the snapshot turned out to be extremely large.
A typical snapshot size ranges from 100 to 1000 lines, while this widget's snapshot is as large as 700,000 lines. That is 1000 times typical size. I am afraid that it will cause serious performance issues.
How to reproduce: get latest code of this PR: #296 and run
yarn test. Then check the snapshot intest/__snapshots__/.Update: I have updated the code to remove the snapshot generation because it caused the tests stuck. If you have problem reproduce this issue please let me know.