facebook / lexical

Lexical is an extensible text editor framework that provides excellent reliability, accessibility and performance.
https://lexical.dev
MIT License
17.5k stars 1.45k forks source link

Root element count invariant & test #6003

Closed zurfyx closed 2 weeks ago

zurfyx commented 2 weeks ago

Follow up to https://github.com/facebook/lexical/pull/6002

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lexical ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2024 10:00pm
lexical-playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 1, 2024 10:00pm
github-actions[bot] commented 2 weeks ago

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
packages/lexical/dist/Lexical.js 23.69 KB (0%) 474 ms (0%) 381 ms (+28.95% 🔺) 855 ms
packages/lexical-rich-text/dist/LexicalRichText.js 34 KB (+0.08% 🔺) 680 ms (+0.08% 🔺) 932 ms (+0.48% 🔺) 1.7 s
packages/lexical-plain-text/dist/LexicalPlainText.js 33.94 KB (+0.03% 🔺) 679 ms (+0.03% 🔺) 795 ms (-2.67% 🔽) 1.5 s
wonkyum-kim commented 2 days ago

Hi. I found that there is no expect in the test code you wrote. Is this intended?