mirror of
				https://github.com/mastermindzh/rickvanlieshout.com
				synced 2025-10-31 08:40:27 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			337 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			337 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| // @flow strict
 | |
| import React from 'react';
 | |
| import renderer from 'react-test-renderer';
 | |
| import Meta from './Meta';
 | |
| 
 | |
| describe('Meta', () => {
 | |
|   it('renders correctly', () => {
 | |
|     const props = {
 | |
|       date: '2016-09-01'
 | |
|     };
 | |
| 
 | |
|     const tree = renderer.create(<Meta {...props} />).toJSON();
 | |
|     expect(tree).toMatchSnapshot();
 | |
|   });
 | |
| });
 |