Comment

Comment by SPBesui

> Unit testing of hook based code is non existent IME. It’s some kinda funky E2E feeling test.

I’m guessing you’re referring to the fact that you can’t access component state like you can with class components. If so, that’s not required to do a unit test. That’s a sign that implementation details are leaking into your tests.

parent SPBesui 3 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton