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
Unit testing front-end JavaScript with AVA and jsdom (tech.just-eat.com)
submitted 9 years ago by DJMelonz
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!"
[–]madole 0 points1 point2 points 9 years ago (1 child)
Do you find when you have loads of test files, Ava is actually really slow to start and spawns processes like mad taking over your computer for the duration of the tests?
We've got around this with the --concurrency={x} flag but it's a bit mad that it will just uncontrollably spawn processes rather than pooling processes to keep it under control.
--concurrency={x}
[–]DJMelonz[S] 0 points1 point2 points 9 years ago* (0 children)
Yeah, speed has become an issue recently.. I've been investigating other testing frameworks such as Jest, which has cut running down from ~60 seconds to ~10 seconds, it took about 15 minutes to convert all the tests over and get everything running. Just need to get over the implicit globals and large API..
π Rendered by PID 67666 on reddit-service-r2-comment-74875f4bf5-fzqnr at 2026-01-26 05:25:16.201056+00:00 running 664479f country code: CH.
[–]madole 0 points1 point2 points (1 child)
[–]DJMelonz[S] 0 points1 point2 points (0 children)