Skip to content

Commit

Permalink
Merge pull request #36895 from software-mansion-labs/ts/androidRevers…
Browse files Browse the repository at this point in the history
…ePort

[TS migration] Migrate 'androidReversePort.js' test to TypeScript
  • Loading branch information
flodnv authored Feb 26, 2024
2 parents fd42ec8 + 2b35713 commit 0ae5885
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import config from '../config';
import type {PromiseWithAbort} from './execAsync';
import execAsync from './execAsync';

export default function () {
function androidReversePort(): PromiseWithAbort {
return execAsync(`adb reverse tcp:${config.SERVER_PORT} tcp:${config.SERVER_PORT}`);
}

export default androidReversePort;

0 comments on commit 0ae5885

Please sign in to comment.