mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-01 03:27:52 +00:00
15 lines
367 B
JavaScript
15 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();
|
|
});
|
|
});
|