Remove repetitive karma spec
This commit is contained in:
parent
b1b596be89
commit
4e8010aa9d
1 changed files with 0 additions and 4 deletions
|
@ -74,10 +74,6 @@ describe('User Avatar Link Component', function () {
|
||||||
expect(this.userAvatarLink.$el.querySelector('img').dataset.originalTitle).toEqual('');
|
expect(this.userAvatarLink.$el.querySelector('img').dataset.originalTitle).toEqual('');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should render <span> as a child element', function () {
|
|
||||||
expect(this.userAvatarLink.$el.querySelector('span')).toBeDefined();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should render username prop in <span>', function () {
|
it('should render username prop in <span>', function () {
|
||||||
expect(this.userAvatarLink.$el.querySelector('span').innerText.trim()).toEqual(this.propsData.username);
|
expect(this.userAvatarLink.$el.querySelector('span').innerText.trim()).toEqual(this.propsData.username);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue