@@ -214,7 +214,7 @@ describe('db panel', async () => {
214214 ) : void {
215215 expect ( item . label ) . to . equal ( `Top ${ n } repositories` ) ;
216216 expect ( item . tooltip ) . to . equal ( `Top ${ n } repositories of a language` ) ;
217- expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'github' ) ) ;
217+ expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'github' ) ) ;
218218 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
219219 }
220220
@@ -225,7 +225,7 @@ describe('db panel', async () => {
225225 ) : void {
226226 expect ( item . label ) . to . equal ( listName ) ;
227227 expect ( item . tooltip ) . to . be . undefined ;
228- expect ( item . iconPath ) . to . be . undefined ;
228+ expect ( item . icon ) . to . be . undefined ;
229229 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . Collapsed ) ;
230230 expect ( item . children ) . to . be . ok ;
231231 expect ( item . children . length ) . to . equal ( repos . length ) ;
@@ -241,7 +241,7 @@ describe('db panel', async () => {
241241 ) : void {
242242 expect ( item . label ) . to . equal ( ownerName ) ;
243243 expect ( item . tooltip ) . to . be . undefined ;
244- expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'organization' ) ) ;
244+ expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'organization' ) ) ;
245245 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
246246 expect ( item . children ) . to . be . ok ;
247247 expect ( item . children . length ) . to . equal ( 0 ) ;
@@ -253,7 +253,7 @@ describe('db panel', async () => {
253253 ) : void {
254254 expect ( item . label ) . to . equal ( repoName ) ;
255255 expect ( item . tooltip ) . to . be . undefined ;
256- expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'database' ) ) ;
256+ expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'database' ) ) ;
257257 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
258258 }
259259} ) ;
0 commit comments