Update changelog

This commit is contained in:
Andrew Eisenberg
2022-01-24 09:30:00 -08:00
parent a6f42e3eb3
commit afe3c56ca8
2 changed files with 4 additions and 7 deletions

View File

@@ -6,6 +6,7 @@
- Fix a bug where the results view moved column even when it was already visible. [#1070](https://github.com/github/vscode-codeql/pull/1070) - Fix a bug where the results view moved column even when it was already visible. [#1070](https://github.com/github/vscode-codeql/pull/1070)
- Add packaging-related commands. _CodeQL: Download Packs_ downloads query packs from the package registry that can be run locally, and _CodeQL: Install Pack Dependencies_ installs dependencies for packs in your workspace. [#1076](https://github.com/github/vscode-codeql/pull/1076) - Add packaging-related commands. _CodeQL: Download Packs_ downloads query packs from the package registry that can be run locally, and _CodeQL: Install Pack Dependencies_ installs dependencies for packs in your workspace. [#1076](https://github.com/github/vscode-codeql/pull/1076)
- Add query history items as soon as a query is run, including new icons for each history item. [#1094](https://github.com/github/vscode-codeql/pull/1094)
## 1.5.9 - 17 December 2021 ## 1.5.9 - 17 December 2021

View File

@@ -318,18 +318,14 @@ describe('query-history', () => {
}); });
expect(treeItem.label).to.contain('hucairz'); expect(treeItem.label).to.contain('hucairz');
expect(treeItem.contextValue).to.eq('rawResultsItem'); expect(treeItem.contextValue).to.eq('rawResultsItem');
expect(treeItem.iconPath).to.deep.eq({ expect(treeItem.iconPath).to.deep.eq(vscode.Uri.file('/a/b/c/media/drive.svg').fsPath);
id: 'check', color: undefined
});
}); });
it('should get a tree item with interpreted results', async () => { it('should get a tree item with interpreted results', async () => {
const mockQuery = createMockFullQueryInfo('a', createMockQueryWithResults(true, /* interpreted results */ true)); const mockQuery = createMockFullQueryInfo('a', createMockQueryWithResults(true, /* interpreted results */ true));
const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery); const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery);
expect(treeItem.contextValue).to.eq('interpretedResultsItem'); expect(treeItem.contextValue).to.eq('interpretedResultsItem');
expect(treeItem.iconPath).to.deep.eq({ expect(treeItem.iconPath).to.deep.eq(vscode.Uri.file('/a/b/c/media/drive.svg').fsPath);
id: 'check', color: undefined
});
}); });
it('should get a tree item that did not complete successfully', async () => { it('should get a tree item that did not complete successfully', async () => {
@@ -348,7 +344,7 @@ describe('query-history', () => {
const mockQuery = createMockFullQueryInfo('a'); const mockQuery = createMockFullQueryInfo('a');
const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery); const treeItem = await historyTreeDataProvider.getTreeItem(mockQuery);
expect(treeItem.iconPath).to.deep.eq({ expect(treeItem.iconPath).to.deep.eq({
id: 'search-refresh', color: undefined id: 'sync~spin', color: undefined
}); });
}); });