UNPKG

askui

Version:

Reliable, automated end-to-end-testing that depends on what is shown on your screen instead of the technology you are running on

12 lines (11 loc) 521 B
import { AndroidError } from './android-error'; export class NoAndroidDeviceError extends AndroidError { constructor(deviceId) { super(deviceId !== undefined ? `The Android device "${deviceId}" was not found. Make sure it is connected ` + '(check "adb devices") and authorized.' : 'No Android device was found. Make sure a device or emulator is connected ' + 'and authorized (check "adb devices").'); this.name = 'NoAndroidDeviceError'; } }