chore: fix typo (#216)

This commit is contained in:
Leonardo Piccioni de Almeida 2019-10-11 16:09:57 -03:00 committed by Evan You
parent e32da9169b
commit a371b2ec0e

View File

@ -130,9 +130,9 @@ describe('vnode', () => {
// mounted VNode -> cloned VNode
const mounted = createVNode('div')
mounted.el = {}
const normlaized = normalizeVNode(mounted)
expect(normlaized).not.toBe(mounted)
expect(normlaized).toEqual({ ...mounted, el: null })
const normalized = normalizeVNode(mounted)
expect(normalized).not.toBe(mounted)
expect(normalized).toEqual({ ...mounted, el: null })
// primitive types
expect(normalizeVNode('foo')).toMatchObject({ type: Text, children: `foo` })