|
|
@@ -66,19 +66,19 @@ test('color props', async () => {
|
|
|
// test('url props', () => {
|
|
|
// const wrapper = mount(Avatar, {
|
|
|
// props: {
|
|
|
-// url: 'https://img12.360buyimg.com/imagetools/jfs/t1/143702/31/16654/116794/5fc6f541Edebf8a57/4138097748889987.png'
|
|
|
+// url: 'https://img12.360buyimg.com/imagetools/jfs/t1/196430/38/8105/14329/60c806a4Ed506298a/e6de9fb7b8490f38.png'
|
|
|
// }
|
|
|
// });
|
|
|
// const img: any = wrapper.find('img');
|
|
|
// expect(img.attributes().src).toBe(
|
|
|
-// 'https://img12.360buyimg.com/imagetools/jfs/t1/143702/31/16654/116794/5fc6f541Edebf8a57/4138097748889987.png'
|
|
|
+// 'https://img12.360buyimg.com/imagetools/jfs/t1/196430/38/8105/14329/60c806a4Ed506298a/e6de9fb7b8490f38.png'
|
|
|
// );
|
|
|
// });
|
|
|
|
|
|
// test('alt props', () => {
|
|
|
// const wrapper = mount(Avatar, {
|
|
|
// props: {
|
|
|
-// url: 'https://img12.360buyimg.com/imagetools/jfs/t1/143702/31/16654/116794/5fc6f541Edebf8a57/4138097748889987.png',
|
|
|
+// url: 'https://img12.360buyimg.com/imagetools/jfs/t1/196430/38/8105/14329/60c806a4Ed506298a/e6de9fb7b8490f38.png',
|
|
|
// alt: '我是alt'
|
|
|
// }
|
|
|
// });
|