You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
702 B
VimL
25 lines
702 B
VimL
6 years ago
|
|
||
|
scriptencoding utf-8
|
||
|
|
||
|
Context Vesting.run()
|
||
|
|
||
|
It checks to sendCommandOneWay successfully
|
||
|
Should tsuquyomi#tsClient#sendCommandOneWay('open', {'file': 'myApp.ts'}) == []
|
||
|
call tsuquyomi#tsClient#stopTssSync()
|
||
|
End
|
||
|
|
||
|
It checks to sendCommandSyncResponse successfully
|
||
|
let res_list = tsuquyomi#tsClient#sendCommandSyncResponse('completions', {})
|
||
|
Should len(res_list) == 1
|
||
|
call tsuquyomi#tsClient#stopTssSync()
|
||
|
End
|
||
|
|
||
|
It checks to sendCommandSyncResponse successfully
|
||
|
let res_list = tsuquyomi#tsClient#sendCommandSyncEvents('geterr', {'files': ['hoge'], 'delay': 50}, str2float("0.01"), 0)
|
||
|
Should len(res_list) == 0
|
||
|
call tsuquyomi#tsClient#stopTssSync()
|
||
|
End
|
||
|
|
||
|
End
|
||
|
Fin
|