File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
tests-ui/platform/assets/components Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -75,23 +75,6 @@ function mountAssetFilterBar(props = {}) {
7575
7676describe ( 'AssetFilterBar' , ( ) => {
7777 describe ( 'Filter State Management' , ( ) => {
78- it ( 'maintains correct initial state' , ( ) => {
79- // Provide assets with options so filters are visible
80- const assets = [
81- createAssetWithSpecificExtension ( 'safetensors' ) ,
82- createAssetWithSpecificBaseModel ( 'sd15' )
83- ]
84- const wrapper = mountAssetFilterBar ( { assets } )
85-
86- // Test initial state through component props
87- const multiSelects = wrapper . findAllComponents ( { name : 'MultiSelect' } )
88- const singleSelect = wrapper . findComponent ( { name : 'SingleSelect' } )
89-
90- expect ( multiSelects [ 0 ] . props ( 'modelValue' ) ) . toEqual ( [ ] )
91- expect ( multiSelects [ 1 ] . props ( 'modelValue' ) ) . toEqual ( [ ] )
92- expect ( singleSelect . props ( 'modelValue' ) ) . toBe ( 'name-asc' )
93- } )
94-
9578 it ( 'handles multiple simultaneous filter changes correctly' , async ( ) => {
9679 // Provide assets with options so filters are visible
9780 const assets = [
You can’t perform that action at this time.
0 commit comments