Преглед изворни кода

test(vOnce): remove todo for hoistStatic test case

daiwei пре 7 месеци
родитељ
комит
e7e80eed23
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      packages/compiler-vapor/__tests__/transforms/vOnce.spec.ts

+ 0 - 2
packages/compiler-vapor/__tests__/transforms/vOnce.spec.ts

@@ -152,8 +152,6 @@ describe('compiler: v-once', () => {
     expect(ir.block.operation).lengthOf(0)
   })
 
-  test.todo('with hoistStatic: true')
-
   test('with v-if', () => {
     const { ir, code } = compileWithOnce(`<div v-if="expr" v-once />`)
     expect(code).toMatchSnapshot()