Bläddra i källkod

test: reformat defineComponent dts test (#631)

Cédric Exbrayat 6 år sedan
förälder
incheckning
2f6ec45d10
1 ändrade filer med 5 tillägg och 4 borttagningar
  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 }
+    })
   })
 })