فهرست منبع

test: reformat defineComponent dts test (#631)

Cédric Exbrayat 6 سال پیش
والد
کامیت
2f6ec45d10
1فایلهای تغییر یافته به همراه5 افزوده شده و 4 حذف شده
  1. 5 4
      test-dts/defineComponent.test-d.tsx

+ 5 - 4
test-dts/defineComponent.test-d.tsx

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