mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			406 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			406 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { mount } from '@vue/test-utils';
 | 
						|
import DateSeparator from '../DateSeparator';
 | 
						|
 | 
						|
describe('DateSeparator', () => {
 | 
						|
  test('matches snapshot', () => {
 | 
						|
    const wrapper = mount(DateSeparator, {
 | 
						|
      propsData: {
 | 
						|
        date: 'Nov 18, 2019',
 | 
						|
      },
 | 
						|
      mocks: {
 | 
						|
        $t: () => {},
 | 
						|
      },
 | 
						|
    });
 | 
						|
    expect(wrapper.vm).toBeTruthy();
 | 
						|
    expect(wrapper.element).toMatchSnapshot();
 | 
						|
  });
 | 
						|
});
 |