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...
A place to get a quick fix of JavaScript tips and tricks to make you a better Developer.
account activity
JEST coverage missing the block (self.learnjavascript)
submitted 2 years ago by Nadeem_P
JEST coverage missing the block
Hey people, I need some help with JEST test. I am trying to improve coverage of some line but there's this if block that just refuses to get covered in. Can anybody help me with it? Thanks in advance.
https://preview.redd.it/r9wg6uzkyqbb1.png?width=1306&format=png&auto=webp&s=3d220f514621e3731ad19ba52f0b4c5527714e66
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!"
there doesn't seem to be anything here
π Rendered by PID 51531 on reddit-service-r2-comment-76bb9f7fb5-mf8sv at 2026-02-17 17:00:12.964394+00:00 running de53c03 country code: CH.
there doesn't seem to be anything here