Commit 4e8010aa authored by Clement Ho's avatar Clement Ho

Remove repetitive karma spec

parent b1b596be
...@@ -74,10 +74,6 @@ describe('User Avatar Link Component', function () { ...@@ -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);
}); });
......
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