]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test: reformat defineComponent dts test (#631)
authorCédric Exbrayat <cexbrayat@users.noreply.github.com>
Thu, 16 Jan 2020 22:46:25 +0000 (23:46 +0100)
committerEvan You <yyx990803@gmail.com>
Thu, 16 Jan 2020 22:46:25 +0000 (17:46 -0500)
test-dts/defineComponent.test-d.tsx

index 20ead670e3e835784d6af7b05a781bc6c856d00d..3cde7426e9f654e4631bd3c1f55866d40e8d909a 100644 (file)
@@ -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 }
+    })
   })
 })