Skip to content
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

Add test case for operations returning promise #91

Merged
merged 1 commit into from
May 8, 2018

Conversation

shimks
Copy link
Contributor

@shimks shimks commented May 8, 2018

Description

NOTE: the added test case will fail since the endpoint it's testing for is down. Considering that the error is thrown properly with done, one may say that the test fulfills its intended purpose despite it failing 😅

Related issues

  • connect to <link_to_referenced_issue>

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

@shimks shimks requested a review from rashmihunt as a code owner May 8, 2018 15:20
@kraman kraman added the #review label May 8, 2018
test/test.js Outdated

// Short method names
StockQuoteService.GetQuote({symbol: 'IBM'}).then(function (response) {
console.log("response: " + response.GetQuoteResult);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we remove this console.log?

@shimks shimks force-pushed the add-promise-test-case branch from 6073a58 to b691f7e Compare May 8, 2018 15:29
Copy link

@jannyHou jannyHou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shimks shimks force-pushed the add-promise-test-case branch from b691f7e to 517399b Compare May 8, 2018 19:37
@shimks shimks merged commit d5ae034 into master May 8, 2018
@shimks shimks deleted the add-promise-test-case branch May 8, 2018 19:51
@kraman kraman removed the #review label May 8, 2018
@dhmlau
Copy link
Member

dhmlau commented May 25, 2018

Released as 4.1.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Promisification of Juggler DAO methods for service integration
7 participants