提交 1711b29d 编写于 作者: F fxy060608

feat: 补充 v-model 测试例

上级 d73d43f7
...@@ -24,7 +24,9 @@ describe('defineModel', () => { ...@@ -24,7 +24,9 @@ describe('defineModel', () => {
const updateValueBtn = await page.$('#update-value-btn') 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 modelValueText.text()).toBe('str1')
expect(await modelValueInput.value()).toBe('str1') expect(await modelValueInput.value()).toBe('str1')
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册