CDN images added & move images from assets to public

This commit is contained in:
Tuğçe Küçükoğlu 2023-02-06 17:59:12 +03:00
parent f54f71d83c
commit ba309fdf90
396 changed files with 424 additions and 460 deletions

View file

@ -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
}
});