UNPKG

@testwizard/commands-video

Version:

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