This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"declaration": true,
|
||||
"outDir": "dist",
|
||||
@@ -8,7 +7,8 @@
|
||||
"target": "ES2020",
|
||||
"moduleResolution": "Node",
|
||||
"esModuleInterop": true,
|
||||
"strict": true
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"include": ["src"]
|
||||
}
|
||||
|
||||
@@ -15,6 +15,8 @@ set -euo pipefail
|
||||
|
||||
RESULT_FILE=/tmp/e2e-results.txt
|
||||
LOCAL_MODE=false
|
||||
APPIUM_PID=""
|
||||
EXPO_PID=""
|
||||
ANDROID_HOME="${ANDROID_HOME:-/opt/android-sdk}"
|
||||
export ANDROID_HOME
|
||||
export PATH="$PATH:$ANDROID_HOME/cmdline-tools/latest/bin:$ANDROID_HOME/platform-tools:$ANDROID_HOME/emulator"
|
||||
@@ -152,8 +154,8 @@ run_tests() {
|
||||
|
||||
cleanup() {
|
||||
echo "--- Cleanup ---"
|
||||
kill "$APPIUM_PID" 2>/dev/null || true
|
||||
kill "$EXPO_PID" 2>/dev/null || true
|
||||
[[ -n "$APPIUM_PID" ]] && kill "$APPIUM_PID" 2>/dev/null || true
|
||||
[[ -n "$EXPO_PID" ]] && kill "$EXPO_PID" 2>/dev/null || true
|
||||
adb emu kill 2>/dev/null || true
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user