From 366ab7dd33f3f5779076d8c1858835c98ed270ec Mon Sep 17 00:00:00 2001 From: hdx Date: Fri, 26 Jan 2024 15:12:02 +0800 Subject: [PATCH] =?UTF-8?q?v-bind:=20=E8=B0=83=E6=95=B4=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=B5=8B=E8=AF=95=E7=94=A8=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/directive/v-bind/v-bind.test.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pages/directive/v-bind/v-bind.test.js b/pages/directive/v-bind/v-bind.test.js index 8e7a938..547173d 100644 --- a/pages/directive/v-bind/v-bind.test.js +++ b/pages/directive/v-bind/v-bind.test.js @@ -8,10 +8,14 @@ describe('v-bind', () => { }) it('button-disabled', async () => { const button = await page.$('.button-disabled') - expect(await button.property('disabled')).toBe(true) + // TODO + const disabled = await button.property('disabled') + expect(disabled.toString()).toBe(true + '') }) it('button-v-bind:disabled', async () => { const button = await page.$('.button-v-bind-disabled') - expect(await button.property('disabled')).toBe(true) + // TODO + const disabled = await button.property('disabled') + expect(disabled.toString()).toBe(true + '') }) }) -- GitLab