From b7babc46dffe81d33c63deaa427fcef0b0e011bc Mon Sep 17 00:00:00 2001 From: Martin Boonk Date: Sat, 4 May 2024 22:58:17 +0200 Subject: [PATCH] android - Remove a bit of noise during the testrun (erros because of missing Bluetooth.println) --- apps/android/test.json | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/android/test.json b/apps/android/test.json index 2fbe5f977..809fd012c 100644 --- a/apps/android/test.json +++ b/apps/android/test.json @@ -17,6 +17,7 @@ "description": "Check setGPSPower is replaced", "steps" : [ {"t":"cmd", "js": "Serial1.println = () => { }", "text": "Fake the serial port"}, + {"t":"cmd", "js": "Bluetooth.println = () => { }", "text": "Fake the Bluetooth println"}, {"t":"cmd", "js": "require('Storage').writeJSON('android.settings.json', {overwriteGps: true})", "text": "Enable GPS overwrite"}, {"t":"cmd", "js": "eval(require('Storage').read('android.boot.js'))", "text": "Load the boot code"}, {"t":"assert", "js": "Bangle.setGPSPower.toString().includes('native')", "is":"false", "text": "setGPSPower has been replaced"}