Skip to content

Commit

Permalink
chore: adapt code to updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
imurchie committed May 30, 2018
1 parent fa9a81f commit d8fc189
Show file tree
Hide file tree
Showing 14 changed files with 35 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
**Warning:**

These issues are not tracked. Please create new issues in the main Appium
repository: https://github.com/appium/appium/issues/new
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
[![devDependency Status](https://david-dm.org/appium/appium-android-driver/dev-status.svg)](https://david-dm.org/appium/appium-android-driver#info=devDependencies)

[![Build Status](https://travis-ci.org/appium/appium-android-driver.svg?branch=master)](https://travis-ci.org/appium/appium-android-driver)
[![Coverage Status](https://coveralls.io/repos/appium/appium-android-driver/badge.svg?branch=master)](https://coveralls.io/r/appium/appium-android-driver?branch=master) [![Greenkeeper badge](https://badges.greenkeeper.io/appium/appium-android-driver.svg)](https://greenkeeper.io/)
[![Coverage Status](https://coveralls.io/repos/appium/appium-android-driver/badge.svg?branch=master)](https://coveralls.io/r/appium/appium-android-driver?branch=master)
[![Greenkeeper badge](https://badges.greenkeeper.io/appium/appium-android-driver.svg)](https://greenkeeper.io/)

# Appium Android Driver

Expand Down
23 changes: 18 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"appium-support": "^2.13.0",
"appium-unlock": "^2.0.0",
"asyncbox": "^2.0.4",
"babel-runtime": "6.26.0",
"babel-runtime": "=5.8.24",
"bluebird": "^3.4.7",
"io.appium.settings": "^2.4.0",
"jimp": "^0.2.24",
Expand Down Expand Up @@ -71,14 +71,14 @@
"android-apidemos": "^3.0.0",
"appium-gulp-plugins": "^2.2.0",
"appium-test-support": "^1.0.0",
"babel-eslint": "^8.2.3",
"babel-eslint": "^7.1.1",
"chai": "^4.1.2",
"chai-as-promised": "^7.1.1",
"eslint": "^4.19.1",
"eslint": "^3.10.2",
"eslint-config-appium": "^2.1.0",
"eslint-plugin-babel": "^5.1.0",
"eslint-plugin-babel": "^3.3.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-mocha": "^5.0.0",
"eslint-plugin-mocha": "^4.7.0",
"eslint-plugin-promise": "^3.3.1",
"mocha": "^5.1.1",
"mock-fs": "^4.5.0",
Expand All @@ -88,5 +88,18 @@
"unzip": "^0.1.11",
"xmldom": "^0.1.19",
"xpath": "^0.0.27"
},
"greenkeeper": {
"ignore": [
"babel-eslint",
"babel-preset-env",
"eslint",
"eslint-plugin-babel",
"eslint-plugin-import",
"eslint-plugin-mocha",
"eslint-plugin-promise",
"gulp",
"babel-runtime"
]
}
}
2 changes: 1 addition & 1 deletion test/unit/commands/actions-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import helpers from '../../../lib/commands/actions';
import * as teen_process from 'teen_process';

let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
chai.should();
chai.use(chaiAsPromised);

Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/context-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { errors } from 'appium-base-driver';

let driver;
let stubbedChromedriver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
let expect = chai.expect;
chai.should();
chai.use(chaiAsPromised);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/element-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import ADB from 'appium-adb';
import androidHelpers from '../../../lib/android-helpers';

let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
chai.should();
chai.use(chaiAsPromised);

Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/find-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import AndroidDriver from '../../..';
import { errors } from 'appium-base-driver';

let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
chai.should();
chai.use(chaiAsPromised);

Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/general-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ chai.should();
chai.use(chaiAsPromised);

let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
let expect = chai.expect;

describe('General', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/ime-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ chai.use(chaiAsPromised);

describe('IME', function () {
let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
beforeEach(function () {
driver = new AndroidDriver();
driver.adb = new ADB();
Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/network-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import B from 'bluebird';

let driver;
let adb;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
chai.should();
chai.use(chaiAsPromised);

Expand Down
2 changes: 1 addition & 1 deletion test/unit/commands/performance-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const PACKAGE_NAME = 'io.appium.android.apis';
const RETRY_PAUSE = 1000;
const RETRY_COUNT = 2;

let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
let adb;
let driver;

Expand Down
2 changes: 1 addition & 1 deletion test/unit/driver-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { SharedPrefsBuilder } from 'shared-preferences-builder';
import _ from 'lodash';

let driver;
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
let expect = chai.expect;
chai.should();
chai.use(chaiAsPromised);
Expand Down
2 changes: 1 addition & 1 deletion test/unit/unlock-helper-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ chai.use(chaiAsPromised);
describe('Unlock Helpers', function () {
let adb = new ADB();
let driver = new AndroidDriver();
let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();
let expect = chai.expect;
describe('isValidUnlockType', function () {
it('should verify the unlock types', async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/unit/webview-helper-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import sinon from 'sinon';
import helpers from '../../lib/webview-helpers';
import ADB from 'appium-adb';

let sandbox = sinon.sandbox.create();
let sandbox = sinon.createSandbox();

describe('Webview Helpers', function () {
let adb = new ADB();
Expand Down

0 comments on commit d8fc189

Please sign in to comment.