Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: enable debug tests

Ammar Ahmedc540cb0fe4e5
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index fc340d8ff..15c018cca 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -17,7 +17,9 @@
"install-pods": "cd native/ios && pod install",
"build-ios": "cd native && detox build -c ios.sim.release",
"build-android": " cd native && detox build -c android.emu.release",
+ "build-android-debug": " cd native && detox build -c android.emu.debug",
"e2e-android": "cd native && detox test --configuration android.emu.release --detectOpenHandles",
+ "e2e-android-debug": "cd native && detox test --configuration android.emu.debug --detectOpenHandles",
"e2e-ios": "cd native && detox test -c ios.sim.release --detectOpenHandles",
"bump": "cd native && npx react-native bump-version --skip-semver-for android",
"release-android": "cd native/android && GITHUB_RELEASE=true ENVFILE=.env.public ./gradlew assembleRelease --no-daemon",
diff --git a/package.json b/package.json
index 61ed99e46..0c0ecab30 100644
--- a/package.json
+++ b/package.json
@@ -22,10 +22,12 @@
"prepare:ios": "nx install-pods @notesnook/mobile",
"build:ios": "nx build-ios @notesnook/mobile",
"build:android": "nx build-android @notesnook/mobile",
+ "build:android:debug": "nx build-android-debug @notesnook/mobile",
"release:android": "nx release-android @notesnook/mobile",
"release:android:bundle": "nx release-android-bundle @notesnook/mobile",
"test:ios": "nx e2e-ios @notesnook/mobile",
"test:android": "nx e2e-android @notesnook/mobile",
+ "test:android:debug": "nx e2e-android-debug @notesnook/mobile",
"start:metro": "nx start @notesnook/mobile",
"start:repack": "nx repack @notesnook/mobile",
"start:editor-mobile": "nx start @notesnook/editor-mobile",