test: reformat defineComponent dts test (#631)

This commit is contained in:
Cédric Exbrayat 2020-01-16 23:46:25 +01:00 committed by Evan You
parent 751d838fb9
commit 2f6ec45d10

View File

@ -261,9 +261,10 @@ describe('compatibility w/ createApp', () => {
}) })
describe('defineComponent', () => { describe('defineComponent', () => {
test('should accept components defined with defineComponent') test('should accept components defined with defineComponent', () => {
const comp = defineComponent({}) const comp = defineComponent({})
defineComponent({ defineComponent({
components: { comp } components: { comp }
})
}) })
}) })