ソースを参照

include templates in ref spec

Evan You 9 年 前
コミット
397e64ad89
1 ファイル変更4 行追加2 行削除
  1. 4 2
      test/unit/features/ref.spec.js

+ 4 - 2
test/unit/features/ref.spec.js

@@ -3,10 +3,12 @@ import Vue from 'vue'
 describe('ref', () => {
   const components = {
     test: {
-      id: 'test'
+      id: 'test',
+      template: '<div>test</div>'
     },
     test2: {
-      id: 'test2'
+      id: 'test2',
+      template: '<div>test2</div>'
     }
   }