@@ -33,14 +33,14 @@ describe('MetricRow', () => {
3333 description : 'Number of downloads per week' ,
3434 } ,
3535 } )
36- expect ( component . find ( '.i-carbon- information' ) . exists ( ) ) . toBe ( true )
36+ expect ( component . find ( '.i-carbon\\: information' ) . exists ( ) ) . toBe ( true )
3737 } )
3838
3939 it ( 'does not render description icon when not provided' , async ( ) => {
4040 const component = await mountSuspended ( MetricRow , {
4141 props : baseProps ,
4242 } )
43- expect ( component . find ( '.i-carbon- information' ) . exists ( ) ) . toBe ( false )
43+ expect ( component . find ( '.i-carbon\\: information' ) . exists ( ) ) . toBe ( false )
4444 } )
4545 } )
4646
@@ -79,7 +79,7 @@ describe('MetricRow', () => {
7979 loading : true ,
8080 } ,
8181 } )
82- expect ( component . find ( '.i-carbon- circle-dash' ) . exists ( ) ) . toBe ( true )
82+ expect ( component . find ( '.i-carbon\\: circle-dash' ) . exists ( ) ) . toBe ( true )
8383 } )
8484 } )
8585
@@ -195,7 +195,7 @@ describe('MetricRow', () => {
195195 diffs : [ null , { direction : 'increase' , display : '+100%' , favorable : true } ] ,
196196 } ,
197197 } )
198- expect ( component . find ( '.i-carbon- arrow-up' ) . exists ( ) ) . toBe ( true )
198+ expect ( component . find ( '.i-carbon\\: arrow-up' ) . exists ( ) ) . toBe ( true )
199199 expect ( component . text ( ) ) . toContain ( '+100%' )
200200 } )
201201
@@ -210,7 +210,7 @@ describe('MetricRow', () => {
210210 diffs : [ null , { direction : 'decrease' , display : '-50%' , favorable : false } ] ,
211211 } ,
212212 } )
213- expect ( component . find ( '.i-carbon- arrow-down' ) . exists ( ) ) . toBe ( true )
213+ expect ( component . find ( '.i-carbon\\: arrow-down' ) . exists ( ) ) . toBe ( true )
214214 } )
215215
216216 it ( 'applies favorable diff styling (green)' , async ( ) => {
@@ -254,8 +254,8 @@ describe('MetricRow', () => {
254254 diffs : [ null , { direction : 'same' , display : '0%' , favorable : undefined } ] ,
255255 } ,
256256 } )
257- expect ( component . find ( '.i-carbon- arrow-up' ) . exists ( ) ) . toBe ( false )
258- expect ( component . find ( '.i-carbon- arrow-down' ) . exists ( ) ) . toBe ( false )
257+ expect ( component . find ( '.i-carbon\\: arrow-up' ) . exists ( ) ) . toBe ( false )
258+ expect ( component . find ( '.i-carbon\\: arrow-down' ) . exists ( ) ) . toBe ( false )
259259 } )
260260 } )
261261
0 commit comments