UNPKG

@testwizard/commands-video

Version:

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