Skip to content

Commit

Permalink
Return mode in AndroidSetupResult.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Nov 2, 2022
1 parent 6e0bc09 commit 07656e9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
3 changes: 2 additions & 1 deletion src/commands/android/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ export class AndroidSetup {

return {
status: result,
setup: !!this.options.setup
setup: !!this.options.setup,
mode: setupConfigs.mode || 'real'
};
}

Expand Down
1 change: 1 addition & 0 deletions src/commands/android/interfaces.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export interface AndroidSetupResult {
status: boolean;
setup: boolean;
mode: Required<SetupConfigs>['mode'];
}

export interface AvailableOptions {
Expand Down

0 comments on commit 07656e9

Please sign in to comment.