File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed
extensions/ql-vscode/test/vscode-tests/no-workspace/query-history Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1709,7 +1709,12 @@ describe("query-history", () => {
17091709 } ) ;
17101710
17111711 const treeItem = await historyTreeDataProvider . getTreeItem ( mockQuery ) ;
1712- expect ( treeItem . iconPath ) . toEqual ( new vscode . ThemeIcon ( "error" ) ) ;
1712+ expect ( treeItem . iconPath ) . toEqual (
1713+ new vscode . ThemeIcon (
1714+ "error" ,
1715+ new vscode . ThemeColor ( "errorForeground" ) ,
1716+ ) ,
1717+ ) ;
17131718 } ) ;
17141719
17151720 it ( "should get a tree item that failed before creating any results" , async ( ) => {
@@ -1719,7 +1724,12 @@ describe("query-history", () => {
17191724 } ) ;
17201725
17211726 const treeItem = await historyTreeDataProvider . getTreeItem ( mockQuery ) ;
1722- expect ( treeItem . iconPath ) . toEqual ( new vscode . ThemeIcon ( "error" ) ) ;
1727+ expect ( treeItem . iconPath ) . toEqual (
1728+ new vscode . ThemeIcon (
1729+ "error" ,
1730+ new vscode . ThemeColor ( "errorForeground" ) ,
1731+ ) ,
1732+ ) ;
17231733 } ) ;
17241734
17251735 it ( "should get a tree item that is in progress" , async ( ) => {
You can’t perform that action at this time.
0 commit comments