Skip to content

Commit

Permalink
Use PromiseWithAbort type
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Feb 26, 2024
1 parent e822732 commit 2b35713
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/e2e/utils/androidReversePort.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import config from '../config';
import type {PromiseWithAbort} from './execAsync';
import execAsync from './execAsync';

function androidReversePort(): Promise<void> {
function androidReversePort(): PromiseWithAbort {
return execAsync(`adb reverse tcp:${config.SERVER_PORT} tcp:${config.SERVER_PORT}`);
}

Expand Down

0 comments on commit 2b35713

Please sign in to comment.