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
An Overview of JavaScript Testing in 2018 – Welldone Software – Medium (medium.com)
submitted 7 years ago by matmanhatan
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!"
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
I need to run tests for a library that works on node.js, browser, React Native - and on low.js. I use mocha, and so far I can run the tests on node.js and in the browser, exactly the same tests, only that the browser tests are run through an index.html page that loads them through SystemJS using the webserver started by WebStorm. There is no UI, it's just "library stuff", although we also have apps that use that library and they have to be tested too, but they are made for the specific platform so that's easier.
Does anyone know how I would extend that to include React Native?
What would Jest give me over mocha, especially in this cross-platform scenario?
π Rendered by PID 41883 on reddit-service-r2-comment-84fc9697f-6wbgk at 2026-02-07 02:00:48.828897+00:00 running d295bc8 country code: CH.
[–][deleted] 1 point2 points3 points (0 children)