chore: remove copy-paste comment from v-cloak (#193)

This commit is contained in:
Adam Dorling 2019-10-10 19:54:50 +01:00 committed by Evan You
parent 78f60347dc
commit 497ed19277

View File

@ -19,8 +19,6 @@ describe('compiler: v-once transform', () => {
const node = transformWithOnce(`<div v-once />`) const node = transformWithOnce(`<div v-once />`)
const codegenArgs = (node.codegenNode as CallExpression).arguments 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( expect(codegenArgs[1]).toMatchObject(
createObjectMatcher({ createObjectMatcher({
$once: `[true]` $once: `[true]`