You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2019/02/18 00:34:59 UTC

[cordova-android] branch master updated: Updated ANDROID_HOME Test to Follow #656 Change (#673)

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git


The following commit(s) were added to refs/heads/master by this push:
     new 576edb5  Updated ANDROID_HOME Test to Follow #656 Change (#673)
576edb5 is described below

commit 576edb53bb5b6f9be4ffb1348f1efbeeb2968905
Author: エリス <er...@users.noreply.github.com>
AuthorDate: Mon Feb 18 09:34:55 2019 +0900

    Updated ANDROID_HOME Test to Follow #656 Change (#673)
---
 spec/unit/check_reqs.spec.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/spec/unit/check_reqs.spec.js b/spec/unit/check_reqs.spec.js
index bf44c4a..546af77 100644
--- a/spec/unit/check_reqs.spec.js
+++ b/spec/unit/check_reqs.spec.js
@@ -35,9 +35,10 @@ describe('check_reqs', function () {
         });
     });
     describe('check_android', function () {
-        describe('set ANDROID_HOME if not set', function () {
+        describe('find and set ANDROID_HOME when ANDROID_HOME and ANDROID_SDK_ROOT is not set', function () {
             beforeEach(function () {
                 delete process.env.ANDROID_HOME;
+                delete process.env.ANDROID_SDK_ROOT;
             });
             describe('even if no Android binaries are on the PATH', function () {
                 beforeEach(function () {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org