diff --git a/tests/e2e/utils/androidReversePort.ts b/tests/e2e/utils/androidReversePort.ts index 23dcdf402426..acbb5a0757b3 100644 --- a/tests/e2e/utils/androidReversePort.ts +++ b/tests/e2e/utils/androidReversePort.ts @@ -1,7 +1,8 @@ import config from '../config'; +import type {PromiseWithAbort} from './execAsync'; import execAsync from './execAsync'; -function androidReversePort(): Promise { +function androidReversePort(): PromiseWithAbort { return execAsync(`adb reverse tcp:${config.SERVER_PORT} tcp:${config.SERVER_PORT}`); }