]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: remove copy-paste comment from v-cloak (#193)
authorAdam Dorling <adam.x.dorling@gmail.com>
Thu, 10 Oct 2019 18:54:50 +0000 (19:54 +0100)
committerEvan You <yyx990803@gmail.com>
Thu, 10 Oct 2019 18:54:50 +0000 (14:54 -0400)
packages/compiler-core/__tests__/transforms/vOnce.spec.ts

index 0b6f995c866ba62d8cb244d8af907d810ffc73d1..e0533b4f4d32788ab801786e40ea38675eadada5 100644 (file)
@@ -19,8 +19,6 @@ describe('compiler: v-once transform', () => {
     const node = transformWithOnce(`<div v-once />`)
     const codegenArgs = (node.codegenNode as CallExpression).arguments
 
-    // As v-once adds no properties the codegen should be identical to
-    // rendering a div with no props or reactive data (so just the tag as the arg)
     expect(codegenArgs[1]).toMatchObject(
       createObjectMatcher({
         $once: `[true]`