mirror of
				https://github.com/reduxjs/redux-devtools.git
				synced 2025-10-31 16:07:45 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			417 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			417 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| import React from 'react';
 | |
| import { render } from '@testing-library/react';
 | |
| import { Container } from '../src';
 | |
| 
 | |
| describe('Container', function () {
 | |
|   it('renders correctly', () => {
 | |
|     const { container } = render(
 | |
|       <Container
 | |
|         themeData={{ theme: 'default', scheme: 'default', light: false }}
 | |
|       >
 | |
|         Text
 | |
|       </Container>
 | |
|     );
 | |
|     expect(container.firstChild).toMatchSnapshot();
 | |
|   });
 | |
| });
 |