3e61ea5cfa
Co-authored-by: Pranav <pranav@chatwoot.com>
17 lines
419 B
JavaScript
17 lines
419 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.isVueInstance()).toBeTruthy();
|
|
expect(wrapper.element).toMatchSnapshot();
|
|
});
|
|
});
|