Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/e2e/utils/execAsync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ export default (command: string, env: NodeJS.ProcessEnv = {}): PromiseWithAbort

return promise;
};

export type {PromiseWithAbort};
3 changes: 2 additions & 1 deletion tests/e2e/utils/killApp.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import config from '../config';
import execAsync from './execAsync';
import type {PromiseWithAbort} from './execAsync';

const killApp = function (platform = 'android', packageName = config.MAIN_APP_PACKAGE): Promise<void> {
const killApp = function (platform = 'android', packageName = config.MAIN_APP_PACKAGE): PromiseWithAbort {
if (platform !== 'android') {
throw new Error(`killApp() missing implementation for platform: ${platform}`);
}
Expand Down