UNPKG

@testwizard/commands-mobile

Version:

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