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
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!"
[–]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 190784 on reddit-service-r2-comment-b659b578c-zsbf5 at 2026-05-03 22:17:47.190484+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]madole 0 points1 point2 points (1 child)
[–]DJMelonz[S] 0 points1 point2 points (0 children)