Skip to content

Commit d171be5

Browse files
committed
style(bar.spec): fix wrong variable name
1 parent 0827a55 commit d171be5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Bar/Bar.spec.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
});

0 commit comments

Comments
 (0)