diff --git a/package.json b/package.json index 8b57066..2c67dbd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nightwatch/mobile-helper", - "version": "0.0.1", + "version": "0.1.2", "description": "Easily setup all the requirements needed to get started with mobile-web testing using Nightwatch.", "main": "dist/index.js", "bin": "./index.js", diff --git a/src/commands/android/index.ts b/src/commands/android/index.ts index efefc22..e549e40 100644 --- a/src/commands/android/index.ts +++ b/src/commands/android/index.ts @@ -97,7 +97,8 @@ export class AndroidSetup { return { status: result, - setup: !!this.options.setup + setup: !!this.options.setup, + mode: setupConfigs.mode || 'real' }; } diff --git a/src/commands/android/interfaces.ts b/src/commands/android/interfaces.ts index dc6c0f3..eefe9c8 100644 --- a/src/commands/android/interfaces.ts +++ b/src/commands/android/interfaces.ts @@ -1,6 +1,7 @@ export interface AndroidSetupResult { status: boolean; setup: boolean; + mode: Required['mode']; } export interface AvailableOptions {