Files
chatwoot/app/javascript/dashboard/components/specs/SidemenuIcon.spec.js
2023-07-05 18:32:55 -07:00

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();
});
});