File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -955,12 +955,12 @@ describe('tastyGlobal() API', () => {
955955 '' : '#white' ,
956956 ':hover' : '#gray.05' ,
957957 ':focus' : '#blue.05' ,
958- disabled : '#gray.20' ,
958+ '[id]' : '#gray.20' ,
959959 } ,
960960 color : {
961961 '' : '#text' ,
962962 ':hover' : '#text-hover' ,
963- disabled : '#text-disabled' ,
963+ '[id]' : '#text-disabled' ,
964964 } ,
965965 transition : 'fill 0.2s, color 0.2s' ,
966966 } ) ;
@@ -969,8 +969,8 @@ describe('tastyGlobal() API', () => {
969969 < div >
970970 < GlobalInteractive />
971971 < div className = "interactive-element" > Interactive Element</ div >
972- < div data-disabled className = "interactive-element" >
973- Disabled Element
972+ < div id = "test-id" className = "interactive-element" >
973+ Element with ID
974974 </ div >
975975 </ div > ,
976976 ) ;
@@ -983,7 +983,7 @@ describe('tastyGlobal() API', () => {
983983
984984 expect ( styleContent ) . toContain ( '.interactive-element' ) ;
985985 expect ( styleContent ) . toContain ( ':hover' ) ;
986- expect ( styleContent ) . toContain ( '[data-disabled ]' ) ;
986+ expect ( styleContent ) . toContain ( '[id ]' ) ;
987987 expect ( styleContent ) . toContain ( 'background-color: var(--white-color)' ) ;
988988 } ) ;
989989
You can’t perform that action at this time.
0 commit comments