]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
test(vModel): implement test for v-model on custom element
authordaiwei <daiwei521@126.com>
Wed, 26 Nov 2025 02:02:33 +0000 (10:02 +0800)
committerdaiwei <daiwei521@126.com>
Wed, 26 Nov 2025 02:02:33 +0000 (10:02 +0800)
packages/compiler-vapor/__tests__/transforms/vModel.spec.ts

index 23b99ec70194e76d178afdc2c74291e2de150742..fdf1496e3d7758311db0d1fce6dca6736527253a 100644 (file)
@@ -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,