mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 17:32:36 +00:00
CDN images added & move images from assets to public
This commit is contained in:
parent
f54f71d83c
commit
ba309fdf90
396 changed files with 424 additions and 460 deletions
|
@ -12,12 +12,12 @@ describe('Image.vue', () => {
|
|||
}
|
||||
},
|
||||
props: {
|
||||
src: 'demo/images/galleria/galleria1.jpg'
|
||||
src: 'images/galleria/galleria1.jpg'
|
||||
}
|
||||
});
|
||||
|
||||
expect(wrapper.find('.p-image.p-component').exists()).toBe(true);
|
||||
expect(wrapper.find('.p-image.p-component img').attributes().src).toBe('demo/images/galleria/galleria1.jpg');
|
||||
expect(wrapper.find('.p-image.p-component img').attributes().src).toBe('images/galleria/galleria1.jpg');
|
||||
});
|
||||
|
||||
it('should preview', async () => {
|
||||
|
@ -29,7 +29,7 @@ describe('Image.vue', () => {
|
|||
}
|
||||
},
|
||||
props: {
|
||||
src: 'demo/images/galleria/galleria1.jpg',
|
||||
src: 'images/galleria/galleria1.jpg',
|
||||
preview: true
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue