From: Adam Dorling Date: Thu, 10 Oct 2019 18:54:50 +0000 (+0100) Subject: chore: remove copy-paste comment from v-cloak (#193) X-Git-Tag: v3.0.0-alpha.0~508 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=497ed19277e602066bbac5ff04687c08944a9a43;p=thirdparty%2Fvuejs%2Fcore.git chore: remove copy-paste comment from v-cloak (#193) --- diff --git a/packages/compiler-core/__tests__/transforms/vOnce.spec.ts b/packages/compiler-core/__tests__/transforms/vOnce.spec.ts index 0b6f995c86..e0533b4f4d 100644 --- a/packages/compiler-core/__tests__/transforms/vOnce.spec.ts +++ b/packages/compiler-core/__tests__/transforms/vOnce.spec.ts @@ -19,8 +19,6 @@ describe('compiler: v-once transform', () => { const node = transformWithOnce(`
`) 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]`