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 />', () => {
31
31
describe ( 'prop: size' , ( ) => {
32
32
it ( 'should set proper size' , ( ) => {
33
33
const { container } = renderWithTheme ( < Bar size = '85%' /> ) ;
34
- const avatarEl = container . firstChild ;
34
+ const barEl = container . firstChild ;
35
35
36
- expect ( avatarEl ) . toHaveStyleRule ( 'height' , '85%' ) ;
36
+ expect ( barEl ) . toHaveStyleRule ( 'height' , '85%' ) ;
37
37
} ) ;
38
38
39
39
it ( 'when passed a number, sets size in px' , ( ) => {
40
40
const { container } = renderWithTheme ( < Bar size = { 25 } /> ) ;
41
- const avatarEl = container . firstChild ;
41
+ const barEl = container . firstChild ;
42
42
43
- expect ( avatarEl ) . toHaveStyleRule ( 'height' , '25px' ) ;
43
+ expect ( barEl ) . toHaveStyleRule ( 'height' , '25px' ) ;
44
44
} ) ;
45
45
} ) ;
46
46
} ) ;
You can’t perform that action at this time.
0 commit comments