小黑小波比.功能測試問題解決

問題1:

test> @api.calendar.remind.record code=1 content=22

===ERROR:2014-10-27T11:11:9星期一 
1000:Cannot read property 'code' of undefined
=========


[TypeError: Property 'record' of object #<Object> is not a function]

test> 


解決方法:

在js文件最後一行添加

export.task= task;


問題2:

參數

{

content:{

title:"1"

}

}

因爲這個參數有數組中的數組

解決方法:

content={"title":"1"}

例如

test> @api.calendar.remind.record content={"title":"1"} starttime=100
{ title: '1' }

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章