mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #3802 - Improve folder structure for nuxt configurations
This commit is contained in:
parent
851950270b
commit
f5fe822afb
563 changed files with 1703 additions and 1095 deletions
21
components/lib/avatargroup/AvatarGroup.spec.js
Normal file
21
components/lib/avatargroup/AvatarGroup.spec.js
Normal file
|
@ -0,0 +1,21 @@
|
|||
import { mount } from '@vue/test-utils';
|
||||
import Avatar from '../avatar/Avatar.vue';
|
||||
import AvatarGroup from './AvatarGroup.vue';
|
||||
|
||||
describe('AvatarGroup.vue', () => {
|
||||
it('should exist', () => {
|
||||
const wrapper = mount(AvatarGroup, {
|
||||
global: {
|
||||
components: {
|
||||
Avatar
|
||||
}
|
||||
},
|
||||
slots: {
|
||||
default: '<Avatar icon="pi pi-user" size="xlarge" shape="circle" />'
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper.find('.p-avatar-group.p-component').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-avatar.p-component').exists()).toBe(true);
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue