UNPKG

@testwizard/commands-mobile

Version:

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