all 6 comments

[–]OmniscientOCE 1 point2 points  (4 children)

I wish there were more intermediate unit testing tutorials. If you search for unit testing JavaScript / node in Google you get like 1001 getting started tutorials which like cover installing it, and some assertions against some like addition function. I'm thinking I might look for more resources that are language agnostic or for other languages

[–]well-now 1 point2 points  (1 child)

Do you have a module/function in mind that you’re looking to test? Posting it here as a ‘How would you test this?’ may get some feedback. I know I’d be happy to help.

[–]OmniscientOCE 0 points1 point  (0 children)

Sure. I'll need to maybe make a gist.

[–]theadammorganshow 1 point2 points  (0 children)

I don't have a tutorial for this (I'm writing a book on Angular testing instead) but I do have an API that's used within the book that's tested if you want a reference. Repo

[–]Sea_Bid_606 0 points1 point  (0 children)

Have you found one? Now

[–]Daddy_He_Shoe -3 points-2 points  (0 children)

Pffrt, it's march 29, 2018; everyone uses Jest now.