mirror of
				https://github.com/youzan/vant.git
				synced 2025-10-25 12:21:04 +00:00 
			
		
		
		
	[Improvement] Rebuild test system (#1051)
This commit is contained in:
		
							
								
								
									
										28
									
								
								packages/circle/test/__snapshots__/index.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								packages/circle/test/__snapshots__/index.spec.js.snap
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| // Jest Snapshot v1, https://goo.gl/fbAQLP | ||||
|  | ||||
| exports[`renders circle correctly 1`] = ` | ||||
| <div> | ||||
|   <div> | ||||
|     <div class="van-circle" style="width:120px;height:120px;"> | ||||
|       <svg viewBox="0 0 1060 1060"> | ||||
|         <path d="M 530 530 m -500, 0 a 500, 500 0 1, 1 1000, 0 a 500, 500 0 1, 1 -1000, 0" class="van-circle__hover" style="fill:none;stroke:#fff;stroke-width:40px;"></path> | ||||
|         <path d="M 530 530 m -500, 0 a 500, 500 0 1, 1 1000, 0 a 500, 500 0 1, 1 -1000, 0" class="van-circle__layer" style="stroke:#38f;stroke-dashoffset:3140px;stroke-width:41px;"></path> | ||||
|       </svg> | ||||
|       <div class="van-circle__text">0%</div> | ||||
|     </div> | ||||
|     <div class="van-circle" style="width:120px;height:120px;"> | ||||
|       <svg viewBox="0 0 1060 1060"> | ||||
|         <path d="M 530 530 m -500, 0 a 500, 500 0 1, 1 1000, 0 a 500, 500 0 1, 1 -1000, 0" class="van-circle__hover" style="fill:#fff;stroke:#eee;stroke-width:60px;"></path> | ||||
|         <path d="M 530 530 m -500, 0 a 500, 500 0 1, 1 1000, 0 a 500, 500 0 1, 1 -1000, 0" class="van-circle__layer" style="stroke:#13ce66;stroke-dashoffset:3140px;stroke-width:61px;"></path> | ||||
|       </svg> | ||||
|       <div class="van-circle__text">0%</div> | ||||
|     </div> | ||||
|     <div> | ||||
|       <button class="van-button van-button--primary van-button--small"> | ||||
|         <!----><span class="van-button__text">增加</span></button> | ||||
|       <button class="van-button van-button--danger van-button--small"> | ||||
|         <!----><span class="van-button__text">减少</span></button> | ||||
|     </div> | ||||
|   </div> | ||||
| </div> | ||||
| `; | ||||
		Reference in New Issue
	
	Block a user
	 neverland
					neverland