Comment

Comment by psyonity

To me this feels like it would test what the code does, not what the code is _supposed_ to do.

Tests should in my opinion validate the intent behind code, not the actual function itself.

parent psyonity 2 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton