File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,16 +31,16 @@ describe('<Bar />', () => {
3131 describe ( 'prop: size' , ( ) => {
3232 it ( 'should set proper size' , ( ) => {
3333 const { container } = renderWithTheme ( < Bar size = '85%' /> ) ;
34- const avatarEl = container . firstChild ;
34+ const barEl = container . firstChild ;
3535
36- expect ( avatarEl ) . toHaveStyleRule ( 'height' , '85%' ) ;
36+ expect ( barEl ) . toHaveStyleRule ( 'height' , '85%' ) ;
3737 } ) ;
3838
3939 it ( 'when passed a number, sets size in px' , ( ) => {
4040 const { container } = renderWithTheme ( < Bar size = { 25 } /> ) ;
41- const avatarEl = container . firstChild ;
41+ const barEl = container . firstChild ;
4242
43- expect ( avatarEl ) . toHaveStyleRule ( 'height' , '25px' ) ;
43+ expect ( barEl ) . toHaveStyleRule ( 'height' , '25px' ) ;
4444 } ) ;
4545 } ) ;
4646} ) ;
You can’t perform that action at this time.
0 commit comments