runapptests - Log step text for resetCall

pull/3413/head
Martin Boonk 2024-05-13 18:57:51 +02:00
parent a2d2a34906
commit db14c39c94
1 changed files with 1 additions and 1 deletions

View File

@ -279,7 +279,7 @@ function runStep(step, subtest, test, state){
}); });
break; break;
case "resetCall": case "resetCall":
console.log(`> RESET CALL ${step.id}`); console.log(`> RESET CALL ${step.id}`, step.text ? "- " + step.text : "");
emu.tx(`global.APPTESTS.funcCalls.${step.id} = 0;\n`); emu.tx(`global.APPTESTS.funcCalls.${step.id} = 0;\n`);
emu.tx(`global.APPTESTS.funcArgs.${step.id} = undefined;\n`); emu.tx(`global.APPTESTS.funcArgs.${step.id} = undefined;\n`);
break; break;