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
843 B
VimL
25 lines
843 B
VimL
6 years ago
|
scriptencoding utf-8
|
||
|
|
||
|
Context Vesting.run()
|
||
|
|
||
|
let s:V = vital#of('tsuquyomi')
|
||
|
let s:Filepath = s:V.import('System.Filepath')
|
||
|
let s:script_dir = tsuquyomi#rootDir()
|
||
|
let s:ver = tsuquyomi#config#getVersion()
|
||
|
|
||
|
It checks interface of response of 'projectInfo' command
|
||
|
if s:ver.major == 3 && s:ver.minor == 2
|
||
|
echo "This test is pending on TypeScript 3.2. Please fix this test case!"
|
||
|
else
|
||
|
let file = substitute(s:Filepath.join(s:script_dir, 'test/tsClient/vest/resources/samplePrjs/prj001/main.ts'), '\\', '/', 'g')
|
||
|
call tsuquyomi#tsClient#tsOpen(file)
|
||
|
let res_projectInfo_dict = tsuquyomi#tsClient#tsProjectInfo(file, 1)
|
||
|
Should has_key(res_projectInfo_dict, 'configFileName')
|
||
|
Should has_key(res_projectInfo_dict, 'fileNames')
|
||
|
call tsuquyomi#tsClient#stopTssSync()
|
||
|
endif
|
||
|
End
|
||
|
|
||
|
End
|
||
|
Fin
|