Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ class AndroidUiautomator2Driver
}
}

async performSessionPreExecSetup(): Promise<StringRecord|undefined> {
async performSessionPreExecSetup(): Promise<StringRecord | undefined> {
const apiLevel = await this.adb.getApiLevel();
if (apiLevel < MIN_SUPPORTED_API_LEVEL) {
throw this.log.errorWithException('UIAutomator2 only supports Android 8.0 (Oreo) and above');
Expand Down Expand Up @@ -679,7 +679,7 @@ class AndroidUiautomator2Driver

await this.performSessionExecution(capsWithSessionInfo);

const deviceInfoPromise: Promise<Uiautomator2DeviceDetails|EmptyObject> = (async () => {
const deviceInfoPromise: Promise<Uiautomator2DeviceDetails | EmptyObject> = (async () => {
try {
return await this.getDeviceDetails();
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion lib/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import path from 'path';
import path from 'node:path';
import type {ADB} from 'appium-adb';
import {fs, system} from 'appium/support';

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"devDependencies": {
"@appium/docutils": "^2.0.0-rc.1",
"@appium/eslint-config-appium-ts": "^2.0.0-rc.1",
"@appium/eslint-config-appium-ts": "^3.0.0",
"@appium/support": "^7.0.0-rc.1",
"@appium/tsconfig": "^1.0.0-rc.1",
"@appium/types": "^1.0.0-rc.1",
Expand Down