Commit d0365e6b authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Fix minor class name typo

parent 0383cee9
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
:target="() => $refs.userAvatarImage" :target="() => $refs.userAvatarImage"
:placement="tooltipPlacement" :placement="tooltipPlacement"
boundary="window" boundary="window"
class="js-user-avatar-image-toolip" class="js-user-avatar-image-tooltip"
> >
<slot> {{ tooltipText }} </slot> <slot> {{ tooltipText }} </slot>
</gl-tooltip> </gl-tooltip>
......
...@@ -82,7 +82,7 @@ describe('Pipelines Table Row', () => { ...@@ -82,7 +82,7 @@ describe('Pipelines Table Row', () => {
).toEqual(pipeline.user.path); ).toEqual(pipeline.user.path);
expect( expect(
wrapper.find('.table-section:nth-child(3) .js-user-avatar-image-toolip').text().trim(), wrapper.find('.table-section:nth-child(3) .js-user-avatar-image-tooltip').text().trim(),
).toEqual(pipeline.user.name); ).toEqual(pipeline.user.name);
}); });
}); });
...@@ -109,7 +109,7 @@ describe('Pipelines Table Row', () => { ...@@ -109,7 +109,7 @@ describe('Pipelines Table Row', () => {
const commitAuthorLink = commitAuthorElement.attributes('href'); const commitAuthorLink = commitAuthorElement.attributes('href');
const commitAuthorName = commitAuthorElement const commitAuthorName = commitAuthorElement
.find('.js-user-avatar-image-toolip') .find('.js-user-avatar-image-tooltip')
.text() .text()
.trim(); .trim();
......
...@@ -91,11 +91,11 @@ describe('User Avatar Image Component', () => { ...@@ -91,11 +91,11 @@ describe('User Avatar Image Component', () => {
}); });
it('renders the tooltip slot', () => { it('renders the tooltip slot', () => {
expect(wrapper.find('.js-user-avatar-image-toolip').exists()).toBe(true); expect(wrapper.find('.js-user-avatar-image-tooltip').exists()).toBe(true);
}); });
it('renders the tooltip content', () => { it('renders the tooltip content', () => {
expect(wrapper.find('.js-user-avatar-image-toolip').text()).toContain(slots.default[0]); expect(wrapper.find('.js-user-avatar-image-tooltip').text()).toContain(slots.default[0]);
}); });
it('does not render tooltip data attributes for on avatar image', () => { it('does not render tooltip data attributes for on avatar image', () => {
......
...@@ -83,7 +83,7 @@ describe('User Avatar Link Component', () => { ...@@ -83,7 +83,7 @@ describe('User Avatar Link Component', () => {
describe('username', () => { describe('username', () => {
it('should not render avatar image tooltip', () => { it('should not render avatar image tooltip', () => {
expect(wrapper.find('.js-user-avatar-image-toolip').exists()).toBe(false); expect(wrapper.find('.js-user-avatar-image-tooltip').exists()).toBe(false);
}); });
it('should render username prop in <span>', () => { it('should render username prop in <span>', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment