feat: filter IDE reference candidates
This commit is contained in:
@@ -16,10 +16,7 @@ describe('client reference projection', () => {
|
||||
expect(serializeIdeReference(item.path)).toBe('<ide-open-file>{"path":"F:\\\\project\\\\a&b.ts"}</ide-open-file>')
|
||||
})
|
||||
|
||||
it('shows IDE, count and dirty state', () => {
|
||||
const candidate = candidateFromItem(item)
|
||||
expect(candidate.description).toContain('VS Code')
|
||||
expect(candidate.description).toContain('4 open')
|
||||
expect(candidate.description).toContain('unsaved changes')
|
||||
it('shows IDE, workspace, count and dirty state with ASCII separators', () => {
|
||||
expect(candidateFromItem(item).description).toBe('VS Code | F:\\project | 4 open | unsaved changes')
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user