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

16 lines (15 loc) 703 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NoAndroidDeviceError = void 0; const android_error_1 = require("./android-error"); class NoAndroidDeviceError extends android_error_1.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'; } } exports.NoAndroidDeviceError = NoAndroidDeviceError;