When I write test which instantly pass, I am not 100% sure if I nailed them on the first try or if I wrote a wrong test :D

#javascript #unit #test


@puresick that’s why you should write the test before you implement the function. So you’ll _know_ the test works as intended. AKA tdd :)

Sign in to participate in the conversation

Happy banthas grazing on tatooine.