瀏覽代碼

test: more test todos

Evan You 6 年之前
父節點
當前提交
e1bbfbba94
共有 2 個文件被更改,包括 7 次插入0 次删除
  1. 4 0
      packages/reactivity/__tests__/ref.spec.ts
  2. 3 0
      packages/runtime-core/__tests__/apiTemplateRef.spec.ts

+ 4 - 0
packages/reactivity/__tests__/ref.spec.ts

@@ -71,4 +71,8 @@ describe('reactivity/value', () => {
 
     expect(typeof (c.value.b + 1)).toBe('number')
   })
+
+  test.todo('isRef')
+
+  test.todo('toRefs')
 })

+ 3 - 0
packages/runtime-core/__tests__/apiTemplateRef.spec.ts

@@ -0,0 +1,3 @@
+// reference: https://vue-composition-api-rfc.netlify.com/api.html#template-refs
+
+describe('api: template refs', () => {})