kazuya kawaguchi 10 лет назад
Родитель
Сommit
a6ac886f2c
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      test/helpers/vdom.js

+ 5 - 0
test/helpers/vdom.js

@@ -0,0 +1,5 @@
+import VNode from 'core/vdom/vnode'
+
+window.createTextVNode = function (text) {
+  return new VNode(undefined, undefined, undefined, text)
+}