Skip to content

Commit c5fa206

Browse files
author
Krzysztof Wojnar
committed
chore(e2e): adbName misalignment
1 parent f7403ca commit c5fa206

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/e2e/detox-utils.cjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function detectLocalAndroidEmulator() {
3131
// TODO: consider giving user a choice here.
3232
return avdList[0];
3333
} catch (error) {
34-
const errorMessage = `Failed to find Android emulator. Set "DETOX_AVD_NAME" env variable pointing to one. Cause: ${error}`;
34+
const errorMessage = `Failed to find Android emulator. Set "RNS_E2E_AVD_NAME" env variable pointing to one. Cause: ${error}`;
3535
console.error(errorMessage);
3636
throw new Error(errorMessage);
3737
}
@@ -96,7 +96,7 @@ function commonDetoxConfigFactory(applicationName) {
9696
attached: {
9797
type: 'android.attached',
9898
device: {
99-
avdName: process.env.RNS_ADB_NAME,
99+
adbName: process.env.RNS_ADB_NAME,
100100
},
101101
utilBinaryPaths: testButlerApkPath,
102102
},

0 commit comments

Comments
 (0)