Hacker News new | ask | show | jobs
by JCTheDenthog 1 day ago
>If this works and passes all of the tests

Only if the existing tests were actually useful in what they tested and covered.

1 comments

Sure but it certainly seems that way. There were already thousands and this PR adds a fair bit more too.

It is possible to have thousands of tests and a lot of blind spots, but it's easier to get a grip on that using instrumentation like code coverage and indeed by using LLMs to prod at edge cases.

I am OK with trusting that it is likely the React team understands how to rigorously test based on how well-tested React itself is.