mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 19:48:08 +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();
|
|
});
|
|
});
|