@@ -240,7 +240,7 @@ describe('db panel', async () => {
240240 ) : void {
241241 expect ( item . label ) . to . equal ( `Top ${ n } repositories` ) ;
242242 expect ( item . tooltip ) . to . equal ( `Top ${ n } repositories of a language` ) ;
243- expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'github' ) ) ;
243+ expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'github' ) ) ;
244244 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
245245 }
246246
@@ -251,7 +251,7 @@ describe('db panel', async () => {
251251 ) : void {
252252 expect ( item . label ) . to . equal ( listName ) ;
253253 expect ( item . tooltip ) . to . be . undefined ;
254- expect ( item . icon ) . to . be . undefined ;
254+ expect ( item . iconPath ) . to . be . undefined ;
255255 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . Collapsed ) ;
256256 expect ( item . children ) . to . be . ok ;
257257 expect ( item . children . length ) . to . equal ( repos . length ) ;
@@ -267,7 +267,7 @@ describe('db panel', async () => {
267267 ) : void {
268268 expect ( item . label ) . to . equal ( ownerName ) ;
269269 expect ( item . tooltip ) . to . be . undefined ;
270- expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'organization' ) ) ;
270+ expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'organization' ) ) ;
271271 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
272272 expect ( item . children ) . to . be . ok ;
273273 expect ( item . children . length ) . to . equal ( 0 ) ;
@@ -279,7 +279,7 @@ describe('db panel', async () => {
279279 ) : void {
280280 expect ( item . label ) . to . equal ( repoName ) ;
281281 expect ( item . tooltip ) . to . be . undefined ;
282- expect ( item . icon ) . to . deep . equal ( new vscode . ThemeIcon ( 'database' ) ) ;
282+ expect ( item . iconPath ) . to . deep . equal ( new vscode . ThemeIcon ( 'database' ) ) ;
283283 expect ( item . collapsibleState ) . to . equal ( vscode . TreeItemCollapsibleState . None ) ;
284284 }
285285} ) ;
0 commit comments