Просмотр исходного кода

test(vOnce): remove todo for hoistStatic test case

daiwei 7 месяцев назад
Родитель
Сommit
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()