diff --git a/packages/shared/tsconfig.json b/packages/shared/tsconfig.json index 176c156..0c34260 100644 --- a/packages/shared/tsconfig.json +++ b/packages/shared/tsconfig.json @@ -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"] } diff --git a/scripts/e2e-test.sh b/scripts/e2e-test.sh index 0a46401..46de4a2 100755 --- a/scripts/e2e-test.sh +++ b/scripts/e2e-test.sh @@ -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 }