-
Notifications
You must be signed in to change notification settings - Fork 0
Add: Resolved lint error reported by Travis ( #396 ) #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
>lib/bindings/HTTPBinding.js: line 216, col 26, 'i' is already defined. resolved and updated. >lib/bindings/HTTPBinding.js: line 315, col 71, Functions declared within loops referencing an outer scoped variable may lead to >confusing semantics. (next, iotaUtils, req, arr, i, sendConfigurationToDevice, replyToDevice Resolved.
|
Modification seems to be fine |
|
@fgalan |
|
The travis configuration at https://github.com/chandradeep03/iotagent-json/blob/master/.travis.yml is a good guide. For instance, you should ensure you have your MongoDB up and running before executing |
|
Thanks for your response. We foolowed the steps of trvis.yml and executed UT of HTTP_reveice_measures-test.js but still all test case get failed.
HTTP: Measure reception HTTP: Measure reception 0 passing (3s)
|
|
By |
|
@fgalan thanks for your response. |
|
@fgalan Can you please let me know as which test file should be modified if we have to add UT for PR telefonicaid#396. If adding of UT not required for PR telefonicaid#396 then please confirm. |
If you are still getting Not sure what the problem is. What is sure is that a run of the tests from master in a clean environment works. I'm sharing how I run it, in the case it helps (showing only the output of the revelant commands): |
|
With regards to:
The bottom line is what I said in telefonicaid#396 (comment):
Does you PR changes the functionality? I guess so, as it is about supporting multimeasures in IOTA-JSON and I understand that support doesn't previously exist. Is my interpretation correct? In that case is a matter of adding a new test that covers the sending of multimeasures. |
HTTPBinding.js file modified for reported lint error in telefonicaid#396