From 1711b29db49b0f5b4299cb71587253857ed987e8 Mon Sep 17 00:00:00 2001 From: fxy060608 <153647646@qq.com> Date: Thu, 19 Sep 2024 13:56:02 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E5=85=85=20v-model=20?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/directive/v-model/v-model-composition.test.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/directive/v-model/v-model-composition.test.js b/pages/directive/v-model/v-model-composition.test.js index e2baa81..1f752e4 100644 --- a/pages/directive/v-model/v-model-composition.test.js +++ b/pages/directive/v-model/v-model-composition.test.js @@ -24,7 +24,9 @@ describe('defineModel', () => { const updateValueBtn = await page.$('#update-value-btn') - await updateValueBtn.tap() + await updateValueBtn.tap() + + expect(await modelNumText.text()).toBe('2') expect(await modelValueText.text()).toBe('str1') expect(await modelValueInput.value()).toBe('str1') -- GitLab