jiridanek commented on pull request #779:
URL: https://github.com/apache/qpid-dispatch/pull/779#issuecomment-662418056


   > npm install
   
   I don't do js either, so that's why it's why these details are a big deal 
for me. One significant difference is that Maven eagerly fetches things from 
the internet when it needs them. NPM doesn't. So running `npm run test` without 
doing `install` first will fail.
   
   > npm run test
   
   Just fyi, it is user specified alias. It runs whatever command line is 
specified in `package.json` that it should run. The Console configured it to 
run some unittests, which makes sense. It seems to be using https://jestjs.io/, 
which is probably the default runner/framework choice for react. Jest does not 
believe in testing in browser; it is apparently somehow possible to use it for 
that, but at Facebook they don't do it, so it's all in nodejs, for speed and 
isolation, and these thing. And they have this feature they call "snapshot 
testing", https://jestjs.io/docs/en/snapshot-testing, which is, ... interesting 
idea prone to much misuse, IMO.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to