[
https://issues.apache.org/jira/browse/DISPATCH-1720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17162746#comment-17162746
]
ASF GitHub Bot commented on DISPATCH-1720:
------------------------------------------
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]
> Run javascript console tests in CI
> ----------------------------------
>
> Key: DISPATCH-1720
> URL: https://issues.apache.org/jira/browse/DISPATCH-1720
> Project: Qpid Dispatch
> Issue Type: Test
> Components: Tests
> Affects Versions: 1.12.0
> Reporter: Jiri Daněk
> Assignee: Jiri Daněk
> Priority: Major
>
> Console tests ({{npm run test}}) are not being run in CI currently.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]