Skip to content

Commit

Permalink
Upgrade tsserver to v5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bstaletic committed Dec 13, 2024
1 parent d259266 commit 0a6f1e3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion third_party/tsserver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"description": "ycmd tsserver runtime area with required typescript version and plugins",
"dependencies": {
"typescript": "5.4.5"
"typescript": "5.7.2"
}
}
10 changes: 7 additions & 3 deletions ycmd/tests/java/server_management_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -515,9 +515,13 @@ def test_ServerManagement_ConnectionRaisesWhileShuttingDown( self, app ):
# the shutdown request. This means we only send the exit notification. It's
# possible that the server won't like this, but it seems reasonable for it
# to actually exit at that point.
with patch.object( completer.GetConnection(),
'GetResponse',
side_effect = RuntimeError ):
from ycmd.completers.language_server import language_server_completer
from ycmd.completers.language_server import language_server_protocol as lsp
def BrokenShutdown( request_id ):
return lsp.BuildRequest( None, 'shutdown', None )
with patch.object( language_server_completer.lsp,
'Shutdown',
side_effect = BrokenShutdown ):
app.post_json(
'/run_completer_command',
BuildRequest(
Expand Down

0 comments on commit 0a6f1e3

Please sign in to comment.