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
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -30,11 +30,15 @@ describe('User Avatar Size Mixin', () => {
});
});
describe('#avatarSizeStylesMapString', () => {
fdescribe('#avatarSizeStylesMapString', () => {
it('should be a defined computed value', () => {
expect(this.vueInstance.avatarSizeStylesMapString).toBeDefined();
});
it('should be a defined computed value', () => {
expect(this.vueInstance.avatarSizeStylesMapString).toBe("{ width: '99px', height: '99px' }");
});
it('should return an plain object when size is undefined', (done) => {
this.vueInstance.size = null;
Loading