test: restructure

This commit is contained in:
Evan You
2019-08-29 16:56:31 -04:00
parent 10bbf52c09
commit 010e64c224
10 changed files with 22 additions and 11 deletions

View File

@@ -3,7 +3,7 @@ import { createVNode } from '../src/vnode'
// 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'))
})