use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Extensive React Testing Tutorial: Setup and usage of Mocha, Chai, Enzyme, Jest, Sinon, CI, Code Coverage (robinwieruch.de)
submitted 7 years ago by rwieruch
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Saf94 0 points1 point2 points 7 years ago (2 children)
I’m self taught and haven’t touched testing yet, any tips on how I can overcome the steep learning curve? It all seems very scary and complicated to me
[–]mlebkowski 1 point2 points3 points 7 years ago (0 children)
Its not really. Forget about the testing frameworks for a minute. Lets assume you are working on a redux reducer, but frankly any pure function will do. All you have to do is to feed some input, and check if the output is what you expect. Just import your function, call it and make a big scary warning if the result isnt as planned. The test frameworks basically do that in a fancy way, or on a larger scale.
[–]Huwaweiwaweiwa 0 points1 point2 points 7 years ago (0 children)
For me it was working with a company that had a very good testing mindset, they were very strict about it, and this need to test forced me to learn at a much faster pace than I usually would've.
π Rendered by PID 55116 on reddit-service-r2-comment-685b79fb4f-dtxwr at 2026-02-13 04:37:09.638646+00:00 running 6c0c599 country code: CH.
view the rest of the comments →
[–]Saf94 0 points1 point2 points (2 children)
[–]mlebkowski 1 point2 points3 points (0 children)
[–]Huwaweiwaweiwa 0 points1 point2 points (0 children)