mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	AssetCard: Fix test errors
This commit is contained in:
		
							parent
							
								
									99519e5bc2
								
							
						
					
					
						commit
						50bcc09b14
					
				@ -18,6 +18,7 @@ describe('ImageAssetCard', () => {
 | 
				
			|||||||
    const { container } = renderTL(
 | 
					    const { container } = renderTL(
 | 
				
			||||||
      <ThemeProvider theme={lightTheme}>
 | 
					      <ThemeProvider theme={lightTheme}>
 | 
				
			||||||
        <ImageAssetCard
 | 
					        <ImageAssetCard
 | 
				
			||||||
 | 
					          alt=""
 | 
				
			||||||
          name="hello.png"
 | 
					          name="hello.png"
 | 
				
			||||||
          extension="png"
 | 
					          extension="png"
 | 
				
			||||||
          height={40}
 | 
					          height={40}
 | 
				
			||||||
@ -447,6 +448,7 @@ describe('ImageAssetCard', () => {
 | 
				
			|||||||
              class="c12"
 | 
					              class="c12"
 | 
				
			||||||
            >
 | 
					            >
 | 
				
			||||||
              <img
 | 
					              <img
 | 
				
			||||||
 | 
					                alt=""
 | 
				
			||||||
                aria-hidden="true"
 | 
					                aria-hidden="true"
 | 
				
			||||||
                class="c13"
 | 
					                class="c13"
 | 
				
			||||||
                src="http://somewhere.com/hello.png?width=40&height=40"
 | 
					                src="http://somewhere.com/hello.png?width=40&height=40"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user