Skip to content

Commit 339ac62

Browse files
committed
Fix flaky tests
1 parent b1dc876 commit 339ac62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

language-server/src/test-client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ export class TestClient<Configuration> {
9292
}
9393
});
9494

95+
this.client.onRequest(SemanticTokensRequest.type, () => {
96+
return { data: [] };
97+
});
98+
9599
this.client.onRequest(WorkDoneProgressCreateRequest.type, () => {
96100
// Nothing to do
97101
});

0 commit comments

Comments
 (0)