mirror of https://github.com/espruino/BangleApps
runapptests - Reset apploaders device installed apps list for each test
parent
9b01f82324
commit
842070928c
|
@ -273,6 +273,7 @@ function runStep(step, subtest, test, state){
|
|||
}
|
||||
|
||||
function runTest(test, testState) {
|
||||
apploader.reset();
|
||||
var app = apploader.apps.find(a=>a.id==test.app);
|
||||
if (!app) ERROR(`App ${JSON.stringify(test.app)} not found`);
|
||||
if (app.custom) ERROR(`App ${JSON.stringify(appId)} requires HTML customisation`);
|
||||
|
|
Loading…
Reference in New Issue