var _interopRequireDefault=require("@babel/runtime/helpers/interopRequireDefault");var _regenerator=_interopRequireDefault(require("@babel/runtime/regenerator"));var _taskRnvPlatform=_interopRequireDefault(require("../task.rnv.platform.list"));

jest.mock("../../core/engineManager/index.js",function(){return{
executeTask:function executeTask(){}};});

jest.mock("../../core/engineManager/index.js",function(){return{
logToSummary:function logToSummary(){}};});



var c={
runtime:{
supportedPlatforms:[
{
engine:'engine-rn',
platform:'ios',
isConnected:true,
port:'0000',
isValid:true}]}};





describe('Test task',function(){
it('should execute task',function _callee(){return _regenerator.default.async(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:
_taskRnvPlatform.default.fn(c);_context.next=3;return _regenerator.default.awrap(
expect(_taskRnvPlatform.default.fn(c)).resolves.toEqual(true));case 3:case"end":return _context.stop();}}},null,null,null,Promise);});

});
//# sourceMappingURL=task.rnv.platform.list.spec.js.map