Skip to content

Commit 6f845ae

Browse files
fix: ns-capabilities
1 parent 48946fd commit 6f845ae

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/image-helper.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export declare class ImageHelper {
1010
blockOutAreas: IRectangle[];
1111
imageOutputLimit(): ImageOptions;
1212
thresholdType(): ImageOptions;
13-
threshold(thresholdType: any): 0.01 | 10;
13+
threshold(thresholdType: any): 10 | 0.01;
1414
delta(): number;
1515
static cropImageDefault(_args: INsCapabilities): {
1616
x: number;

lib/ns-capabilities.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export declare class NsCapabilities implements INsCapabilities {
4747
readonly isSauceLab: any;
4848
readonly appPath: string;
4949
appName: string;
50-
readonly ignoreDeviceController: boolean;
50+
ignoreDeviceController: boolean;
5151
readonly wdaLocalPort: number;
5252
device: IDevice;
5353
readonly emulatorOptions: string;

lib/ns-capabilities.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export class NsCapabilities implements INsCapabilities {
8080
get appName() { return this._appName; }
8181
set appName(appName: string) { this._appName = appName; }
8282
get ignoreDeviceController() { return this._ignoreDeviceController; }
83+
set ignoreDeviceController(ignoreDeviceController: boolean) { this._ignoreDeviceController = ignoreDeviceController; }
8384
get wdaLocalPort() { return this._wdaLocalPort; }
8485
get device() { return this._device; }
8586
set device(device: IDevice) { this._device = device; }

0 commit comments

Comments
 (0)