chore: remove copy-paste comment from v-cloak (#193)
This commit is contained in:
parent
78f60347dc
commit
497ed19277
@ -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]`
|
||||||
|
Loading…
Reference in New Issue
Block a user