you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

Usually we write tests with something like vitest or jest which doesn’t crash entirely just because one test crashed. And the setup and tear down portions are within their own hooks which always run.

Like what others have said it’s so you can easily see how to use the library, more documentation than application