run: npm install javascript-typescript-langserver
- name: Build
run: cabal build
- # - name: Test
- # run: |
- # echo $PATH
- # export PATH=$PATH:$(npm bin)
- # cabal run lsp-test:test:tests
+ - name: Test
+ run: |
+ echo $PATH
+ export PATH=$PATH:$(npm bin)
+ cabal run lsp-test:test:tests
{-# ANN module ("HLint: ignore Reduce duplication" :: String) #-}
{-# ANN module ("HLint: ignore Unnecessary hiding" :: String) #-}
-runSession = runSessionWithConfig (defaultConfig { logStdErr = True, logMessages = True })
+runSession = runSessionWithConfig (defaultConfig { logStdErr = True })
main = hspec $ do
describe "Session" $ do
describe "withTimeout" $ do
it "times out" $
- let sesh = runSession "hie" fullCaps "test/data/renamePass" $ do
+ let sesh = runSession "hie -d --bios-verbose" fullCaps "test/data/renamePass" $ do
openDoc "Desktop/simple.hs" "haskell"
-- won't receive a request - will timeout
-- incoming logging requests shouldn't increase the