first commit

This commit is contained in:
Akhil Gupta
2021-05-29 15:20:50 +05:30
commit d25c30a7b2
194 changed files with 49873 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
import BaseButton from './_base-button.vue'
describe('@components/_base-button', () => {
it('renders its content', () => {
const slotContent = '<span>foo</span>'
const { element } = shallowMount(BaseButton, {
slots: {
default: slotContent,
},
})
expect(element.innerHTML).toContain(slotContent)
})
})