Explorar o código

test(vModel): implement test for v-model on custom element

daiwei hai 5 meses
pai
achega
1d72706642

+ 1 - 2
packages/compiler-vapor/__tests__/transforms/vModel.spec.ts

@@ -102,8 +102,7 @@ describe('compiler: vModel transform', () => {
       )
     })
 
-    // TODO: component
-    test.todo('should allow usage on custom element', () => {
+    test('should allow usage on custom element', () => {
       const onError = vi.fn()
       const root = compileWithVModel('<my-input v-model="model" />', {
         onError,