@cnamts/vue-dot
Version:
Implementation of our Design System for the French Health Insurance
26 lines (17 loc) • 548 B
text/typescript
import Vue from 'vue';
import { Wrapper } from '@vue/test-utils';
import consola from 'consola';
import { mountComponent } from '@/tests';
import FooterWrapper from '../';
let wrapper: Wrapper<Vue>;
describe('FooterWrapper', () => {
const spy = jest.fn();
beforeEach(() => {
consola.mockTypes(() => spy);
});
it('renders correctly', () => {
wrapper = mountComponent(FooterWrapper);
expect(wrapper).toMatchSnapshot();
expect(spy).toHaveBeenCalledWith('FooterWrapper is deprecated since v2.2.0, use FooterBar instead.');
});
});