Skip to content
Snippets Groups Projects

Consolidate user avatar Vue logic

Merged username-removed-408230 requested to merge user-avatar-vue-ce into master
All threads resolved!
1 file
+ 0
8
Compare changes
  • Side-by-side
  • Inline
@@ -35,14 +35,6 @@ describe('User Avatar Size Mixin', () => {
expect(this.vueInstance.avatarSizeStylesMapString).toBeDefined();
});
it('should correctly transform size into width style', () => {
expect(this.vueInstance.avatarSizeStylesMapString).toContain(`width: '99px'`); // eslint-disable-line quotes
});
it('should correctly transform size into height style', () => {
expect(this.vueInstance.avatarSizeStylesMapString).toContain(`height: '99px'`); // eslint-disable-line quotes
});
it('should return an plain object when size is undefined', (done) => {
this.vueInstance.size = null;
Loading