Skip to content

Commit e4fe2f8

Browse files
committed
Fix unit test assertion
1 parent 3c5aa65 commit e4fe2f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/jupyterlab-lsp/src/features/completion/completion_handler.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ describe('transformLSPCompletions', () => {
5858
expect(result.items[0].match.insertText).to.equal("'@lumino/algorithm");
5959
// label should not include `'`
6060
expect(result.items[0].match.label).to.equal('@lumino/algorithm');
61-
expect(result.source).to.equal('LSP');
61+
expect(result.source.name).to.equal('LSP');
6262
});
6363

6464
it('Harmonizes `insertText` for paths', () => {

0 commit comments

Comments
 (0)