Commit 491876e1 authored by Skye Yu's avatar Skye Yu

fix: add record test api

parent 4906371d
Pipeline #1884 canceled with stages
...@@ -787,10 +787,10 @@ Jensen.prototype.getRecordingFile = function (seconds) { ...@@ -787,10 +787,10 @@ Jensen.prototype.getRecordingFile = function (seconds) {
}; };
Jensen.prototype.recordTestStart = async function (type, seconds) { Jensen.prototype.recordTestStart = async function (type, seconds) {
return this.send(new Command(0xf008).body([type])); return this.send(new Command(0xf008).body([type]), seconds);
}; };
Jensen.prototype.recordTestEnd = async function (type, seconds) { Jensen.prototype.recordTestEnd = async function (type, seconds) {
return this.send(new Command(0xf009).body([type])); return this.send(new Command(0xf009).body([type]), seconds);
}; };
const commonMessageParser = (msg) => { const commonMessageParser = (msg) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment