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