UNPKG

@testwizard/commands-video

Version:

20 lines (14 loc) 517 B
'use strict'; const Commands = require('@testwizard/commands-core'); const Result = Commands.ResultForOk; class StopRecordingCommand extends Commands.CommandBase { constructor(testObject) { super(testObject, 'StopRecording'); } async execute() { const requestObj = []; const json = await this.executeCommand(requestObj); return new Result(json, 'stopRecording was successful', 'stopRecording failed'); } } module.exports = StopRecordingCommand;