mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import { shallowMount } from '@vue/test-utils';
 | 
						|
import SidemenuIcon from '../SidemenuIcon';
 | 
						|
 | 
						|
describe('SidemenuIcon', () => {
 | 
						|
  test('matches snapshot', () => {
 | 
						|
    const wrapper = shallowMount(SidemenuIcon, {
 | 
						|
      stubs: { WootButton: { template: '<button><slot /></button>' } },
 | 
						|
    });
 | 
						|
    expect(wrapper.vm).toBeTruthy();
 | 
						|
    expect(wrapper.element).toMatchSnapshot();
 | 
						|
  });
 | 
						|
});
 |