Przeglądaj źródła

test: reformat defineComponent dts test (#631)

Cédric Exbrayat 6 lat temu
rodzic
commit
2f6ec45d10
1 zmienionych plików z 5 dodań i 4 usunięć
  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 }
+    })
   })
 })