From: daiwei Date: Mon, 26 May 2025 01:05:18 +0000 (+0800) Subject: chore: update X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fheads%2Fedison%2Ffix%2F13169;p=thirdparty%2Fvuejs%2Fcore.git chore: update --- diff --git a/packages/compiler-dom/__tests__/transforms/__snapshots__/vModel.spec.ts.snap b/packages/compiler-dom/__tests__/transforms/__snapshots__/vModel.spec.ts.snap index 1953974c30..b357ac15a1 100644 --- a/packages/compiler-dom/__tests__/transforms/__snapshots__/vModel.spec.ts.snap +++ b/packages/compiler-dom/__tests__/transforms/__snapshots__/vModel.spec.ts.snap @@ -48,7 +48,7 @@ return function render(_ctx, _cache) { }" `; -exports[`compiler: transform v-model > input with v-bind shorthand type should use dynamic model 1`] = ` +exports[`compiler: transform v-model > input with v-bind shorthand type after v-model should use dynamic model 1`] = ` "const _Vue = Vue return function render(_ctx, _cache) { diff --git a/packages/compiler-dom/__tests__/transforms/vModel.spec.ts b/packages/compiler-dom/__tests__/transforms/vModel.spec.ts index 64e102ff27..6891cff11e 100644 --- a/packages/compiler-dom/__tests__/transforms/vModel.spec.ts +++ b/packages/compiler-dom/__tests__/transforms/vModel.spec.ts @@ -63,8 +63,8 @@ describe('compiler: transform v-model', () => { expect(generate(root).code).toMatchSnapshot() }) - test('input with v-bind shorthand type should use dynamic model', () => { - const root = transformWithModel('') + test('input with v-bind shorthand type after v-model should use dynamic model', () => { + const root = transformWithModel('') expect(root.helpers).toContain(V_MODEL_DYNAMIC) expect(generate(root).code).toMatchSnapshot()