]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: fix typo (#216)
authorLeonardo Piccioni de Almeida <leopiccionia@gmail.com>
Fri, 11 Oct 2019 19:09:57 +0000 (16:09 -0300)
committerEvan You <yyx990803@gmail.com>
Fri, 11 Oct 2019 19:09:57 +0000 (15:09 -0400)
packages/runtime-core/__tests__/vnode.spec.ts

index 1e691a5fbadba88de0520e3016e0d199ab853889..c2aaf21ede0d02b37608d9c6cca21c9040928405 100644 (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` })