Skip to content

Commit 70de3b0

Browse files
author
Krzysztof Borowy
committed
test next storage through e2e
1 parent dd21b80 commit 70de3b0

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.circleci/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,9 @@ jobs:
296296
- run:
297297
name: Run e2e tests
298298
command: yarn test:e2e:android
299+
- run:
300+
name: Clear previous app from device
301+
command: adb uninstall com.microsoft.reacttestapp
299302
- run:
300303
name: Run e2e tests for Next storage
301304
command: yarn detox test -c android.emu.release.next --maxConcurrency 1

example/android/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ allprojects {
7575
androidExtension.buildTypes.release.signingConfig = androidExtension.signingConfigs.test
7676
androidExtension.buildTypes {
7777
next {
78+
// this build type is used on CI (to have app with and without nextStorage)
7879
initWith release
7980
matchingFallbacks = ["debug", "release"]
8081
}
@@ -87,6 +88,9 @@ allprojects {
8788
}
8889
project.dependencies {
8990
androidTestImplementation('com.wix:detox:+')
91+
92+
def hermesDir = file('../../node_modules/hermes-engine/android').absolutePath
93+
nextImplementation files("$hermesDir/hermes-release.aar")
9094
}
9195
}
9296
}

0 commit comments

Comments
 (0)