android - Remove a bit of noise during the testrun (erros because of missing Bluetooth.println)
parent
24a40c88c9
commit
b7babc46df
|
|
@ -17,6 +17,7 @@
|
||||||
"description": "Check setGPSPower is replaced",
|
"description": "Check setGPSPower is replaced",
|
||||||
"steps" : [
|
"steps" : [
|
||||||
{"t":"cmd", "js": "Serial1.println = () => { }", "text": "Fake the serial port"},
|
{"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": "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":"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"}
|
{"t":"assert", "js": "Bangle.setGPSPower.toString().includes('native')", "is":"false", "text": "setGPSPower has been replaced"}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue