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

adb-commands module refactoring #256

Merged
merged 8 commits into from
Sep 12, 2017

Conversation

vmaxim
Copy link
Contributor

@vmaxim vmaxim commented Sep 11, 2017

No description provided.

};

methods.setSetting = async function (namespace, setting, value) {
await this.shell(['settings', 'put', namespace, setting, value]);
Copy link
Contributor

Choose a reason for hiding this comment

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

return might be also useful here

@imurchie
Copy link
Contributor

Linting is broken. Please run npm run lint locally.

};

/*
Copy link
Contributor

Choose a reason for hiding this comment

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

Please rebase your branch with the recent master to see docstring examples. We do follow JSDoc tutorial while creating docstrings.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oops...

Copy link
Member

@jlipps jlipps left a comment

Choose a reason for hiding this comment

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

great idea @vmaxim!

@@ -7,7 +7,7 @@ import { apiLevel, platformVersion, MOCHA_TIMEOUT } from './setup';
import { fs, mkdirp } from 'appium-support';
import temp from 'temp';


const should = chai.should();
Copy link
Member

Choose a reason for hiding this comment

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

the way that i usually get around lint errors here is simply:

chai.should();

i.e., you don't need to assign it to a variable for it to do the thing you need it to do.

@imurchie
Copy link
Contributor

Thanks! Functional tests pass locally, and fix for Travis is in master, so merging.

@imurchie imurchie merged commit f1bc91b into appium:master Sep 12, 2017
@vmaxim vmaxim deleted the adb_commands_module_refactoring branch September 13, 2017 06:15
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.

4 participants