Skip to content

Commit

Permalink
test: fix integration test failures
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 29, 2024
1 parent 393534e commit 9378a80
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 159 deletions.
18 changes: 8 additions & 10 deletions test/integration/server/__tests__/initialization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,13 @@ describe('Initialization', () => {

const result = await connection.sendRequest(LSP.InitializeRequest.type, init);

expect(result).toMatchInlineSnapshot(`
Object {
"capabilities": Object {
"textDocumentSync": Object {
"change": 1,
"openClose": true,
},
},
}
`);
expect(result).toEqual({
capabilities: {
textDocumentSync: {
change: 1,
openClose: true,
},
},
});
});
});
Loading

0 comments on commit 9378a80

Please sign in to comment.