--- /dev/null
+describe('renderer: component', () => {
+ test.todo('should work')
+
+ test.todo('shouldUpdateComponent')
+
+ test.todo('componentProxy')
+
+ test.todo('componentProps')
+
+ test.todo('componentSlots')
+})
// Since h is a thin layer on top of createVNode, we are only testing its
// own logic here. Details of vnode creation is tested in vnode.spec.ts.
-describe('vdom: h', () => {
+describe('renderer: h', () => {
test('type only', () => {
expect(h('div')).toMatchObject(createVNode('div'))
})
// reference: https://github.com/vuejs/vue/blob/dev/test/unit/modules/vdom/patch/children.spec.js
-describe('vdom: unkeyed children', () => {
+describe('renderer: unkeyed children', () => {
test.todo('append')
test.todo('prepend')
test.todo('should not de-opt when both head and tail change')
})
-describe('vdom: keyed children', () => {})
+describe('renderer: keyed children', () => {})
-describe('vdom: element', () => {
+describe('renderer: element', () => {
test.todo('with props')
test.todo('with direct text children')
serializeInner
} from '@vue/runtime-test'
-describe('vdom: fragment', () => {
+describe('renderer: fragment', () => {
it('should allow returning multiple component root nodes', () => {
const App = {
render() {
--- /dev/null
+describe('renderer: optimized mode', () => {
+ test.todo('should work')
+})
--- /dev/null
+describe('renderer: portal', () => {
+ test.todo('should work')
+})
+++ /dev/null
-describe('vdom: component', () => {
- test.todo('should work')
-})
+++ /dev/null
-describe('vdom: optimized mode', () => {
- test.todo('should work')
-})