Chatwoot/app/javascript/shared/components/specs/DateSeparator.spec.js
Pranav Raj S cfc56705fd [Enhancement] Group widget messages by date (#363)
* [Enhancement] Group widget messages by date

* Update DateSeparator snapshot
2019-12-15 00:06:01 +05:30

14 lines
367 B
JavaScript

import { mount } from '@vue/test-utils';
import DateSeparator from '../DateSeparator';
describe('Spinner', () => {
test('matches snapshot', () => {
const wrapper = mount(DateSeparator, {
propsData: {
date: 'Nov 18, 2019',
},
});
expect(wrapper.isVueInstance()).toBeTruthy();
expect(wrapper.element).toMatchSnapshot();
});
});