Skip to content

Commit

Permalink
Merge branch 'main' into Rory-TransitionSurvey
Browse files Browse the repository at this point in the history
  • Loading branch information
roryabraham committed Feb 24, 2024
2 parents c98c48f + 88a0f35 commit bd00fc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
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

0 comments on commit bd00fc3

Please sign in to comment.