From 4031e30ddaa310b7d888e33a724b0bea4a4fb938 Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Wed, 6 Mar 2024 15:41:22 +0530 Subject: [PATCH] Update testIndex.js --- tests/unit_tests/commands/android/testIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit_tests/commands/android/testIndex.js b/tests/unit_tests/commands/android/testIndex.js index 1e801aa..55cbdc6 100644 --- a/tests/unit_tests/commands/android/testIndex.js +++ b/tests/unit_tests/commands/android/testIndex.js @@ -1898,7 +1898,7 @@ describe('test setupAndroid', function() { assert.deepStrictEqual(binariesCheckedForWorking, ['sdkmanager']); assert.strictEqual(cmdlineToolsDownloaded, false); - assert.deepStrictEqual(packagesToInstall, [ABI === 'arm64-v8a' ? 'system-images;android-30;google_apis;arm64-v8a' : 'system-images;android-30;google_apis;x86_64', 'emulator']); // emulator updated + assert.deepStrictEqual(packagesToInstall, [`system-images;android-30;google_apis;${ABI}`, 'emulator']); // emulator updated assert.strictEqual(platformFolderCreated, false); assert.strictEqual(buildToolsDownloaded, true); assert.strictEqual(avdChecked, true);