File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed
src/vs/workbench/contrib/chat/test/browser Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -611,25 +611,6 @@ suite('ChatModelsViewModel', () => {
611611 assert . strictEqual ( models . length , 4 ) ;
612612 } ) ;
613613
614- test ( 'should show models even when single vendor is collapsed' , async ( ) => {
615- const { viewModel : singleVendorViewModel } = createSingleVendorViewModel ( store , chatEntitlementService , false ) ;
616- await singleVendorViewModel . resolve ( ) ;
617-
618- // Try to collapse the single vendor
619- const vendorEntry = viewModel . viewModelEntries . find ( r => isVendorEntry ( r ) && r . vendorEntry . vendor === 'copilot' ) as IVendorItemEntry ;
620- singleVendorViewModel . toggleVendorCollapsed ( vendorEntry ) ;
621-
622- const results = singleVendorViewModel . filter ( '' ) ;
623-
624- // Should still show models even though vendor is "collapsed"
625- // because there's no vendor header to collapse
626- const vendors = results . filter ( isVendorEntry ) ;
627- assert . strictEqual ( vendors . length , 0 , 'Should not show vendor header' ) ;
628-
629- const models = results . filter ( r => ! isVendorEntry ( r ) ) as IModelItemEntry [ ] ;
630- assert . strictEqual ( models . length , 1 , 'Should still show models even when single vendor is collapsed' ) ;
631- } ) ;
632-
633614 test ( 'should filter single vendor models by capability' , async ( ) => {
634615 const { viewModel : singleVendorViewModel } = createSingleVendorViewModel ( store , chatEntitlementService ) ;
635616 await singleVendorViewModel . resolve ( ) ;
You can’t perform that action at this time.
0 commit comments