FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix example by Chaitya62 · Pull Request #78 · browserstack/browserstack-local-nodejs · GitHub

Fix example - #78

Open
Chaitya62 wants to merge 5 commits into
browserstack:masterfrom
Chaitya62:fix-example
Open

Fix example#78
Chaitya62 wants to merge 5 commits into
browserstack:masterfrom
Chaitya62:fix-example

Conversation

Copy link
Copy Markdown

Example in async style.

Chaitya Shah and others added 2 commits May 31, 2019 13:30

Chaitya62 commented May 31, 2019
edited
Loading

Copy link
Copy Markdown
Author

@singh811 Is there some issue with the master, I have changed the readme still the CI failed ?

Also regarding my example: is the
yourTest function misleading, how else can we show that stop should be called when test is completed ?

  • Writing a Dummy for yourTest which returns a promise could be and option.

Comment thread README.md Outdated
Comment thread README.md
if (bs_local.isRunning()) {

// run your test here
yourTest(function() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Maybe using a much more contextual name like testScenario or something on these lines?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL