@mozaic-ds/vue
Version:
Mozaic-Vue is the Vue.js implementation of ADEO Design system
17 lines (13 loc) • 337 B
text/typescript
import { describe, it, expect } from 'vitest';
import { mount } from '@vue/test-utils';
import MBadge from './MBadge.vue';
describe('MBadge component', () => {
it('renders properly', () => {
const wrapper = mount(MBadge, {
props: {
label: 99,
},
});
expect(wrapper.text()).toContain('99');
});
});