[X] I use the most recent available driver/plugin and server versions
Is the component officially supported by the Appium team?
[X] I have verified the component repository is present under the Appium organization in GitHub
Is there an existing issue for this?
[X] I have searched the existing issues
Current Behavior
Attempting to use appium-adb package with the _TESTING environment variable set to 1 causes a JavaScript error: ReferenceError: Cannot access 'MOCK_LOG' before initialization
If _TESTING=1 is left unset, the code works as expected.
Expected Behavior
The call to ADB.createADB() completes without error, and the _TESTING=1 environment variable omits the extra logging output.
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
Attempting to use
appium-adb
package with the_TESTING
environment variable set to1
causes a JavaScript error:ReferenceError: Cannot access 'MOCK_LOG' before initialization
If
_TESTING=1
is left unset, the code works as expected.Expected Behavior
The call to
ADB.createADB()
completes without error, and the_TESTING=1
environment variable omits the extra logging output.Minimal Reproducible Example
https://gist.github.com/pathwirejames/a46d590e78643d926405712441b02ed2
Environment
appium --version
): 2.12.1appium driver list
): uiautomator2@3.8.2appium plugin list
): (none)node --version
): v20.10.0npm
version (output ofnpm --version
): 10.2.3Link to Appium Logs
https://gist.github.com/pathwirejames/54661e530ab5b97da6b2dd9736861cf5
Further Information
No response