From af99160ae64da4d656bad144e330f492e20be3d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A8=E3=83=AA=E3=82=B9?= Date: Sat, 16 Feb 2019 15:05:00 +0900 Subject: [PATCH] Updated ANDROID_HOME Test to Follow #656 Change --- 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 bf44c4a4bd..546af77b24 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 () {